27.10.2018, 17:48
Код:
public OnPlayerText(playerid, text[]) { new message[128]; if(PlayerInfo[playerid][pAdminDuty] == 1) { format(message, sizeof(message), "%s (( %s ))", GetName(playerid), text); ProxDetector(30.0, playerid, message, COLOR_ORANGE); } else { format(message, sizeof(message), "%s says: %s", GetName(playerid), text); ProxDetector(30.0, playerid, message, -1); } return 1; }