10.08.2015, 16:08
pawn Code:
if(strcmp(cmdtext, "/command", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] > 0) //If playerid isn't a admin, he can't type this.
{
//Your command
}
else SendClientMessage(playerid, -1, "You aren't admin.");
return 1;
}