public GetTeamScore(team) { for (new i = 0; i < MAX_PLAYERS; i++) { if (gTeam[i] == team && IsPlayerConnected(i)) GetPlayerScore(i); } return 1; }