mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
11 lines
343 B
Plaintext
11 lines
343 B
Plaintext
|
#include "script_component.hpp"
|
||
|
|
||
|
if (!hasInterface) exitWith {};
|
||
|
|
||
|
GVAR(pfID) = -1;
|
||
|
|
||
|
["ace_settingsInitialized", {
|
||
|
["turret", LINKFUNC(showHud), false] call CBA_fnc_addPlayerEventHandler;
|
||
|
["vehicle", LINKFUNC(showHud), true] call CBA_fnc_addPlayerEventHandler; // only one of these needs the retro flag
|
||
|
}] call CBA_fnc_addEventHandler;
|