18.08.2016, 12:18
Код:
public OnPlayerText(playerid, text[]) { new string[200]; if(PlayerInfo[playerid][pAdmin] >= 1) { format(string, sizeof(string), "%s {FFFFFF}[%d]: %s", GetName(playerid), playerid, text); ABroadCast(GetPlayerColor(playerid), string, 1); } else { format(string,sizeof(string), "%s: %s", GetName(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } return 0; }