GetTeamPlayersAlive(teamid){ new count; for(new i; i < playersAliveCount; i++) { if(IsPlayerConnected(i) && gTeam[i] == teamid) count++; } return count;}