for(new i=0; i != MAX_PLAYERS; i++) if( IsPlayerConnected(i) && faction[playerid] == faction[i] ) SetPlayerMapIcon(i, 1, x, y, z, 56, 0, MAPICON_GLOBAL );