Edit:
Sadly, Short cords menu is broken, The menu doesn't generate even though text appears saying f = tele, F5 = spawn vehicle, and hijack vehicle. Posting purplishs code here (And me putting the message.) if anyone wants to fix the entire menu.
Old Post, Error has been fixed. Thank you purplish
:
Hey can someone help me with this? The way you trigger the admin menu in the free blur gaming antihack script wasn't working, so i used the alternative, but when i use initadmin.sqf, i get this error:
This is my initadmin.sqf:
Can someone help me fix the error? Thanks
Sadly, Short cords menu is broken, The menu doesn't generate even though text appears saying f = tele, F5 = spawn vehicle, and hijack vehicle. Posting purplishs code here (And me putting the message.) if anyone wants to fix the entire menu.
Code:
waituntil {!alive player ; !isnull (finddisplay 46)};
sleep 30;
if ((getPlayerUID player) in ["10355529","14195657"]) then {
player addaction [("<t color=""#ff0000"">" + ("Admin Menu") +"</t>"),"admintools\start.sqf"];
sleep 5;
hint parseText "<t size='2.5' color='#00FF00'>Welcome SWNN Admin! Use Scroll Wheel and click Admin menu to access your tools!</t>";
};
//Purplish Edited Initadmin.sqf with scroll menu as the toggle! Also tools points to the mission folder.
Old Post, Error has been fixed. Thank you purplish
Hey can someone help me with this? The way you trigger the admin menu in the free blur gaming antihack script wasn't working, so i used the alternative, but when i use initadmin.sqf, i get this error:
Code:
0:59:29 File mpmissions\DayZ_Epoch_11.Chernarus\initadmin.sqf, line 4
0:59:29 Error in expression <359497"]) then {
displayAddEventHandler ["KeyUp", "if ((_this select 1) == 0xD3)>
0:59:29 Error position: <["KeyUp", "if ((_this select 1) == 0xD3)>
0:59:29 Error Missing ;
This is my initadmin.sqf:
Code:
waituntil {!alive player ; !isnull (finddisplay 46)};
sleep 30;
if ((getPlayerUID player) in ["*censored*"]) then {
displayAddEventHandler ["KeyUp", "if ((_this select 1) == 0xD3) then {call compile preprocessFileLineNumbers ""\z\addons\dayz_server\tools\start.sqf"";};"]
sleep 5;
hint parseText "<t size='2.5' color='#00FF00'>Press "Delete" to Open your Admin menu</t>";
};
//0xD3 is "Delete" above the arrow keys
Can someone help me fix the error? Thanks