reactortrip
Member
Would be nice in code format bud, straight copy and paste.
if you go to the github, you can look at the changes and the code copy past e is on there.
Code:
//Player only
if (!isDedicated) then {
hotkey_hitme = 0;
hotkey_tools = 0;
dayz_spaceInterrupt = {
private ["_dikCode", "_handled"];
_dikCode = _this select 1;
_handled = false;
if (_dikCode in actionKeys "User20" and hotkey_hitme == 0 and (time - dayz_lastCheckBit > 5)) then {
dayz_lastCheckBit = time; hotkey_hitme = 1;
_nill = [] execVM "debug\playerstats.sqf"; };
if (_dikCode in actionKeys "User20" and hotkey_hitme == 1 and (time - dayz_lastCheckBit > 5)) then {
dayz_lastCheckBit = time; hintSilent ""; hotkey_hitme = 0;
};
if (_dikCode in actionKeys "User19" and hotkey_tools == 0 and (time - dayz_lastCheckBit > 5)) then {
dayz_lastCheckBit = time; hotkey_tools = 1;
_nill = [] execVM "admintools\AdminToolsMain.sqf";
};
if (_dikCode in actionKeys "User19" and hotkey_tools == 1 and (time - dayz_lastCheckBit > 5)) then {
dayz_lastCheckBit = time; hintSilent ""; hotkey_tools = 0;
};
if ((_dikCode == 0x3E or _dikCode == 0x0F or _dikCode == 0xD3) and (time - dayz_lastCheckBit > 10)) then {
dayz_lastCheckBit = time;
};
_handled
};
};