ACE3/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf
2016-07-30 12:28:06 +02:00

25 lines
442 B
Plaintext

/*
* 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"];
[GVAR(syncedEvents), {
_value params ["", "_eventLog"];
["ACEs", [_key, _eventLog], _client] call CBA_fnc_targetEvent;
false
}] call CBA_fnc_hashEachPair;
true