GetPlayersOnServer() { new count; for(new x=0; x< MAX_PLAYERS; x++) { //x = MAX_PLAYERS if(IsPlayerConnected(x))) { count++; } } return count; }