countEvent(event) { new count = 0; for(new i=0; i < MAX_PLAYERS; i++) { if(playerInfo[i][MODE] == event) { count++; } } return count; }