How to
#4

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!!!!!!!!!!!!!!!!!
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: 2 Guest(s)