mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
600 B
Plaintext
22 lines
600 B
Plaintext
#include "script_component.hpp"
|
|
|
|
if (["STMapGestures"] call EFUNC(common,isModLoaded)) exitWith {
|
|
WARNING("st_map_gestures is installed - exiting [remove st_map_gestures.pbo to allow ace version]");
|
|
};
|
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
["ace_settingsInitialized", {
|
|
if (!GVAR(enabled)) exitWith {};
|
|
[{
|
|
if (isNull (findDisplay 12)) exitWith {};
|
|
|
|
params ["", "_pfhId"];
|
|
|
|
call FUNC(receiverInit);
|
|
call FUNC(transmitterInit);
|
|
|
|
[_pfhId] call CBA_fnc_removePerFrameHandler;
|
|
}, 1, []] call CBA_fnc_addPerFrameHandler;
|
|
}] call CBA_fnc_addEventHandler;
|