12.01.2014, 15:12
It's not working because the player pAdmin enum is default '0' you did it right but you'll need to set the enum of admin to 1+ in order to use any command checking if the enum bigger than '0' ,
The above was just an example you'll need to create a command to set admin level for players.
pawn Код:
CMD:makemeadmin(playerid,params[])
{
PlayerInfo[playerid][pAdmin] =1;//So now you're allowed to use any command checking the admin enum.
return 1;
}