16.07.2011, 20:43
well... that would be quite easy. Just use an "if" statement to check if the player using the command is an admin
pawn Код:
if(IsPlayerAdmin(playerid)) //this checks if the player is an RCON admin
{
//code goes here
}
else
{
SendClientMessage(playerid, COLOR_RED, "your not an admin!");
}
return 1;
}