Admin cmd, Not authorized help please
#9

Quote:
Originally Posted by Kebab-
Посмотреть сообщение
Change
Код:
 if(PlayerInfo[playerid][pAdmin] < 6)
To

Код:
 if(PlayerInfo[playerid][pAdmin] > 5)
You made it so players below Admin Level 6 can only perform the command.
if it's the highest then why not just use == instead ?
anyhow, check what level are you then by making a test command
pawn Код:
CMD:whatismylevel(playerid, params[]) {
SendClientMessage(player,-1,PlayerInfo[playerid][pAdmin]);
return 1;
}
By the code you've showed everything looks fine, so there is no way that the problem is in the command. (unless you didn't replace what kebab said to replace)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)