2015-04-17 17:21:41 +00:00
|
|
|
/*
|
|
|
|
* Author: jaynus
|
|
|
|
*
|
2015-04-18 02:26:27 +00:00
|
|
|
* Send a request to synchronize an event name from the client->server. Execute on client only.
|
2015-04-17 17:21:41 +00:00
|
|
|
*
|
|
|
|
* Argument:
|
2015-04-18 02:26:27 +00:00
|
|
|
* 0: eventName (String)
|
2015-04-17 17:21:41 +00:00
|
|
|
*
|
|
|
|
* Return value:
|
|
|
|
* Boolean of success
|
|
|
|
*/
|
2015-04-18 02:26:27 +00:00
|
|
|
//#define DEBUG_MODE_FULL
|
2015-04-17 17:21:41 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
PARAMS_1(_eventName);
|
|
|
|
|
|
|
|
// Only JIP machines on initialization send this off, requesting sync on events with the serverCommand
|
|
|
|
if(isServer) exitWith { false };
|
|
|
|
|
|
|
|
["SEH_s", [_eventName, ACE_player] ] call ace_common_fnc_serverEvent;
|