mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
480 B
Plaintext
23 lines
480 B
Plaintext
/*
|
|
* Author: jaynus
|
|
*
|
|
*
|
|
* Argument:
|
|
*
|
|
* Return value:
|
|
* Boolean of success
|
|
*/
|
|
#define DEBUG_MODE_FULL
|
|
#include "script_component.hpp"
|
|
PARAMS_1(_client);
|
|
|
|
{
|
|
private["_eventName", "_eventEntry", "_eventLog"];
|
|
_eventName = _x;
|
|
_eventEntry = HASH_GET(GVAR(syncedEvents),_eventName);
|
|
_eventLog = _eventEntry select 1;
|
|
|
|
["SEH_s", _client, [_eventName, _eventLog] ] call FUNC(targetEvent);
|
|
} forEach (GVAR(syncedEvents) select 0);
|
|
|
|
true |