14.12.2013, 17:52
can you fix this also then?
Код:
CMD:r(playerid, params[]) { new text[128],string[256]; if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_GREY, "Syntax: /r [text]"); foreach(Player, i) { if(gTeam[playerid] == TEAM_TERRORIST) { format(string, sizeof(string),"[Radio] %s: %s", PlayerName(playerid), text); SendClientMessage(i, TEAM_TERRORIST_COLOR, string); } if(gTeam[playerid] == TEAM_ARMY) { format(string, sizeof(string),"[Radio] %s: %s", PlayerName(playerid), text); SendClientMessage(i, TEAM_ARMY_COLOR, string); } } return 1; }