17.04.2017, 18:49
How can i check how many of people are from some team? And make if(playersfromgang[grove] == 5) return ....?
Can you make stock for me ?
Can you make stock for me ?
GetTeamMembers(teamid){ new tmemb; for(new t; t < MAX_PLAYERS; t++) if(IsPlayerConnected(t) && /*playerinfo[t][team]*/ == teamid) tmemb ++; return tmemb; }
if(GetTeamMembers(1) == 5){ // code }