How to
#3

Код HTML:
GetTeamMembers(teamid){

	new tmemb;
	for(new t; t < MAX_PLAYERS; t++) if(IsPlayerConnected(t) && /*playerinfo[t][team]*/ == teamid) tmemb ++;
	return tmemb;
}
example:
Код HTML:
if(GetTeamMembers(1) == 5){

	// code
}
Reply


Messages In This Thread
How to - by Kraeror - 17.04.2017, 18:49
Re: How to - by Kraeror - 17.04.2017, 18:58
Re: How to - by JustNothing - 17.04.2017, 19:05
Re: How to - by Kraeror - 17.04.2017, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)