How to check if team is full and disable the player from spawning.
#2

Keep a counter, ( an array of size MAX_TEAMS ) check it when a player spawns and if it's MORE than "X" number of players, then disallow him, else increment it. Simple!
Reply


Messages In This Thread
How to check if team is full and disable the player from spawning. - by DemME - 16.06.2014, 16:52
Re: How to check if team is full and disable the player from spawning. - by RajatPawar - 16.06.2014, 16:56
Re: How to check if team is full and disable the player from spawning. - by DemME - 16.06.2014, 17:00
Re: How to check if team is full and disable the player from spawning. - by Sandiel - 16.06.2014, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)