ACE3/addons/fcs/XEH_clientInit.sqf
2015-04-03 19:25:28 +02:00

15 lines
405 B
Plaintext

#include "script_component.hpp"
GVAR(enabled) = false;
GVAR(time) = 0;
GVAR(position) = [0,0,0];
#include "initKeybinds.sqf"
["infoDisplayChanged", {
if (!isNull ((_this select 0) displayCtrl 1713151)) then {
uiNamespace setVariable ["ACE_dlgRangefinder", _this select 0];
((_this select 0) displayCtrl 151) ctrlSetTextColor [0,0,0,0];
};
}] call EFUNC(common,addEventHandler);