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-09-18 05:42:10 +00:00
|
|
|
private ["_eventEntry", "_eventLog"];
|
|
|
|
|
|
|
|
_eventEntry = HASH_GET(GVAR(syncedEvents),_x);
|
2015-04-18 01:23:26 +00:00
|
|
|
_eventLog = _eventEntry select 1;
|
|
|
|
|
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
|