Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fnc_adminVMexecuter =
- {
- if !((getPlayerUID player) in (PV_LowLevel_List+PV_NormalLevel_List+PV_SuperLevel_List)) exitWith {}; // only admins - variables defined by the infiSTAR.de AntiHack tool.
- infiSTAR_ExecVM =
- [
- ['',true],
- ['infiSTAR.de SQF Loader', [-1], '', -5, [['expression', '']], '1', '0'],
- ['File 1', [2], '', -5, [['expression', '[] execVM ''File1.sqf'';']], '1', '1'],
- ['File 2', [3], '', -5, [['expression', '[] execVM ''File2.sqf'';']], '1', '1'],
- ['File 3', [4], '', -5, [['expression', '[] execVM ''File3.sqf'';']], '1', '1'],
- ['File 4', [5], '', -5, [['expression', '[] execVM ''File4.sqf'';']], '1', '1'],
- ['File 5', [6], '', -5, [['expression', '[] execVM ''File5.sqf'';']], '1', '1'],
- ['File 6', [7], '', -5, [['expression', '[] execVM ''File6.sqf'';']], '1', '1']
- ];
- showCommandingMenu '#USER:infiSTAR_ExecVM';
- };
- fnc_adminStartKeybinds =
- {
- _keyDown = _this select 1;
- if (_keyDown == 61) then
- {
- [] spawn fnc_adminVMexecuter;
- };
- };
- if (!isNil 'adminStartKeybinds') then {(findDisplay 46) displayRemoveEventHandler ['KeyDown', adminStartKeybinds];};
- adminStartKeybinds = (findDisplay 46) displayAddEventHandler ['KeyDown','_this call fnc_adminStartKeybinds'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement