03.08.2009, 09:47
The Code Should be
Код:
public OnPlayerText(playerid, text[]) { if(text[0] == '!') { new string[256],name3[24]; GetPlayerName(playerid,name3,24); format(string,256,"[ATC-Radio] %s: %s",name3,text[1]); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(ATC[i] == ATC[playerid]) SendClientMessage(i, 0xB4B5B7AA, string); } } return 0; } }