14.05.2010, 08:05
pawn Код:
ReturnPlayersInTeam(teamid)
{
new t;
for(new a;a<MAX_PLAYERS,IsPlayerConnected(a);a++)
{
if(!IsPlayerNPC(a))
{
if(gTeam[a]==teamid)t++;
return t;
}
}
}
Sorry, just woke up can't get things right, this should totaly work lol.