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

Quote:
Originally Posted by Kevin Fallow / KevKo
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.");
Ok thx that fixed but what if I want to let level 3 and level 2 to do the command? without letting level 0 do it
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)