28.12.2007, 18:38
At the bottom of the script put:
Then
I think it's something like that, Try it.
Код:
SendAmericaMessage(COLOR, text[]) {
for(new i = 0; i < MAX_PLAYERS; i ++) {
if(IsPlayerConnected(i)) {
if (gTeam[i] == TEAM_AMERICAN) {
SendClientMessage(i, COLOR, text);
}
}
}
}
Код:
SendAmericaMessage(playerid, COLOR_RED, "[text]");

