ACE3/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf

26 lines
492 B
Plaintext
Raw Normal View History

2016-05-30 16:37:03 +00:00
/*
* Author: jaynus
* Handles a server-side request for synchronization ALL events on JIP to a client.
*
* Arguments:
* 0: client <OBJECT>
*
* Return Value:
* Event is successed <BOOL>
*
* Public: No
*/
#include "script_component.hpp"
params ["_client"];
{
private _eventEntry = HASH_GET(GVAR(syncedEvents),_x);
_eventEntry params ["", "_eventLog"];
2016-06-09 12:24:45 +00:00
["ACEs", [_x, _eventLog], _client] call CBA_fnc_targetEvent;
2016-05-30 16:37:03 +00:00
false
} count (GVAR(syncedEvents) select 0);
true