ACE3/addons/common/functions/fnc_removeEventHandler.sqf

14 lines
417 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-05-14 18:06:06 +00:00
params ["_eventName", "_eventCode"];
private _newName = getText (configFile >> "ACE_newEvents" >> _eventName);
if (_newName != "") then {
TRACE_2("Switching Names",_eventName,_newName);
_eventName = _newName;
};
[_eventName, _eventCode] call CBA_fnc_removeEventHandler;
2015-09-18 23:50:17 +00:00
ACE_DEPRECATED("ace_common_fnc_removeEventHandler","3.8.0","CBA_fnc_removeEventHandler");