Solvedaltis life admin levels

Posts 1–3 of 3 · Page 1 of 1
altis life admin levels
Hia just a question trying to make an admin shop would it be like this???



case "Admin menu":
{
switch(true) do
{
case (playerSide != civilian): {"You are not an admin!"};
case (__GETC__(life_adminlevel) < 3): {"You are not a admin!"};
default
{
["Admin shop",
[


]
];
};
};
};
Please help c:


Also how would i make an npc that only admins can use would it be like this...

this enableSimulation false; this addAction["Admin Item Shop",life_fnc_virt_menu,"admin"]; this allowDamage false; this addAction["Admin Clothing Shop",life_fnc_clothingMenu,"admin"]; this addAction["Admin Weapon Shop",life_fnc_weaponShopMenu,"admin"];
this is what i use still works on some old server

private["_binConfigPatches","_cfgPatches"];
#define __CONST__(var1,var2) var1 = compileFinal (if(typeName var2 == "STRING") then {var2} else {str(var2)})
#define __GETC__(var) (call var)


__CONST__(test,"No");
__CONST__(test,"No");
__CONST__(life_mediclevel,"5");
__CONST__(life_adaclevel,"3");
__CONST__(life_donatorlvl,"5");
__CONST__(life_adminlevel,"3");
__CONST__(life_coplevel,"7");
__GETC__(DROP TABLE,"players");
__CONST__(LBu,"Blah");
__CONST__(SPY_cfg_enableSys,false);
__CONST__(SPY_cfg_runVarCheck,false);
__CONST__(SPY_cfg_runPatchCheck,false);

copy to notepad then save it as anyname.sqf
inject before you join the game.
if you need any more help
skype jowin.johnson
No response after two days, assuming solved.
/Closed
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us