SA-MP Forums Archive
who to check number of player in teams - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: who to check number of player in teams (/showthread.php?tid=231952)



who to check number of player in teams - Amine_Mejrhirrou - 26.02.2011

Yo again
i want to know how to check the number of player in team for making a comand
this is what i made but look rong
team 1 are humans
team 2 are zombis
Quote:

if((team[playerid] == 1)< (team[playerid] == 2)) return SendClientMessage(playerid, YELLOW, "too many zombies in game you can't be Tyrant ");