11.03.2011, 19:17
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/COMMAND")){
if(IsPlayerAdmin(playerid)){ //The "IsPlayerAdmin" checks if the player is an RCON admin!
//The command
}
else{ //If he's NOT an RCON admin
//Do you wanna do something? Like a message?
}
}
return 1;
}