for(new i ; i < MAX_PLAYERS ; i++ ){ if(IsPlayerConnected( i )) { if( My_Enum[ i ][ pTeamOrClass ] == TEAM_POLICE ) { printf("%d", i); } }}