2015-04-18 01:23:26 +00:00
|
|
|
/*
|
|
|
|
* Author: jaynus
|
2015-04-18 02:26:27 +00:00
|
|
|
* Handles a server-side request for synchronization ALL events on JIP to a client.
|
2015-04-18 01:23:26 +00:00
|
|
|
*
|
2015-09-18 05:42:10 +00:00
|
|
|
* Arguments:
|
|
|
|
* 0: client <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Event is successed <BOOL>
|
|
|
|
*
|
|
|
|
* Public: No
|
2015-04-18 01:23:26 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
2015-09-18 05:42:10 +00:00
|
|
|
|
|
|
|
params ["_client"];
|
2015-04-18 01:23:26 +00:00
|
|
|
|
|
|
|
{
|
2015-12-14 12:08:19 +00:00
|
|
|
private _eventEntry = HASH_GET(GVAR(syncedEvents),_x);
|
|
|
|
_eventEntry params ["", "_eventLog"];
|
2015-04-18 01:23:26 +00:00
|
|
|
|
2015-09-18 05:42:10 +00:00
|
|
|
["SEH_s", _client, [_x, _eventLog]] call FUNC(targetEvent);
|
2015-09-20 20:29:38 +00:00
|
|
|
false
|
|
|
|
} count (GVAR(syncedEvents) select 0);
|
2015-04-18 01:23:26 +00:00
|
|
|
|
2015-09-18 05:42:10 +00:00
|
|
|
true
|