11.06.2010, 08:49
pawn Код:
if(strcmp("/onduty", cmdtext, true, 7) == 0)
{
if(IsPlayerAdmin(playerid)){
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
new string[56];
format(string, sizeof(string), "%s is now on duty!", name);
SendClientMessageToAll(Color, string);
return 1;
}