17.01.2010, 16:14
Quote:
Originally Posted by GTAguillaume
Код:
public OnPlayerText(playerid, text[]) { new string[256]; if(text[0] == '@') { format(string, sizeof(string), "[Team Admin Chat] %s[%i]: %s", pInfo[playerid][name], playerid, text[1]); for(new j = 0; j < MAX_PLAYERS; j++) { if(IsPlayerConnected(j) && pInfo[j][level] > 0) SendClientMessage(j, COLOR_NOTICE, string); } SendClientMessage(playerid,string); //:P return 0; } |
-.-