How to make this command unable to use for certain levels
#2

My guess is that every admin level except 4 can use this command. If 4 is your highest admin level, then you should put:

pawn Код:
if(pInfo[playerid][pAdmin] != 4) return SystemMessage(playerid, "You are not Administrator.");
Otherwise:

pawn Код:
if(pInfo[playerid][pAdmin] <= 4) return SystemMessage(playerid, "You are not Administrator.");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)