mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
19 lines
362 B
Plaintext
19 lines
362 B
Plaintext
/*
|
|
* Author: Nou
|
|
*
|
|
* Execute a global event on all clients, including self.
|
|
*
|
|
* Argument:
|
|
* 0: Event name (string)
|
|
* 1: Event args (any)
|
|
*
|
|
* Return value:
|
|
* Nothing
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
PARAMS_2(_eventName,_eventArgs);
|
|
|
|
ACEg = [_eventName, _eventArgs];
|
|
publicVariable "ACEg";
|
|
["ACEg", ACEg] call FUNC(_handleNetEvent); |