for(new i = 0; i < MAX_PLAYERS; i++){ if(IsPlayerConnected(i)) { if ( gTeam[i] == 1 || gTeam[i] == 2 || gTeam[i] == 3 ) SendClientMessage(i, GetPlayerColor(playerid), string); }}