Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- by: http://infiSTAR.de || http://DayzAntiHack.com
- ExecVM this file from your !isDedicated in the init.sqf
- */
- [] spawn {
- waitUntil {!isnull finddisplay 46};
- waitUntil {!isNil 'dayz_animalCheck'};
- fnc_adminVMexecuter =
- {
- // if !((getPlayerUID player) in (PV_LowLevel_List+PV_NormalLevel_List+PV_SuperLevel_List)) exitWith {};
- 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;
- };
- };
- while {1 == 1} do
- {
- if (!isNil 'adminStartKeybinds') then {(findDisplay 46) displayRemoveEventHandler ['KeyDown', adminStartKeybinds];adminStartKeybinds = nil;};
- adminStartKeybinds = (findDisplay 46) displayAddEventHandler ['KeyDown','_this call fnc_adminStartKeybinds'];
- sleep 5;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement