Quote:
Originally Posted by JustNothing
Код HTML:
GetTeamMembers(teamid){
new tmemb = 0;
for(new t; t < MAX_PLAYERS; t++) if(IsPlayerConnected(t) && /*playerinfo[t][team]*/ == teamid) return tmemb ++;
return tmemb;
}
example:
Код HTML:
if(GetTeamMembers(teamid) == 5){
// code
}
|
Thanks a lot!!!!!!!!!!!!!!!!!