mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
26 lines
517 B
Plaintext
26 lines
517 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"];
|
|
|
|
{
|
|
private _eventEntry = HASH_GET(GVAR(syncedEvents),_x);
|
|
_eventEntry params ["", "_eventLog"];
|
|
|
|
["ACEs", [_x, _eventLog], _client] call CBA_fnc_targetEvent;
|
|
false
|
|
} count (GVAR(syncedEvents) select 0);
|
|
|
|
true
|