14.05.2010, 08:00
OH right, didn't see that.
how about this?
pawn Код:
ReturnPlayersInTeam(teamid)
{
new t;
for(new a;a<MAX_PLAYERS,IsPlayerConnected(a);a++) && if(!IsPlayerNpc(a)) if(gTeam[a]==teamid)t++;
return t;
}