ReturnPlayersInTeam(teamid){ if(!IsPlayerNpc(playerid)) { new t; for(new a;a<MAX_PLAYERS,IsPlayerConnected(a);a++)if(gTeam[a]==teamid)t++; return t; }}