[Tutorial] GetMaxPlayers()
#2

NPC's (Bots)

Just as a side thought; another thought - GetMaxPlayers() returns the maximum player slots available. When you connect/insert an NPC, this limit is actually reduced. I'm not too sure on this but as GetMaxPlayers() returns the maximum player slots, it will not return the missing slots due to bots. This could be good as with bots the limit will be dynamically changing; this means you do not have to edit your script dependant on the amount of bots you have!
Reply


Messages In This Thread
GetMaxPlayers() - by Ash. - 03.06.2011, 18:09
Re: GetMaxPlayers() - by Ash. - 03.06.2011, 23:28
Re: GetMaxPlayers() - by Jack_Rocker - 03.06.2011, 23:35
Re: GetMaxPlayers() - by __ - 03.06.2011, 23:45
Re: GetMaxPlayers() - by Ash. - 04.06.2011, 00:34
Respuesta: GetMaxPlayers() - by [DOG]irinel1996 - 04.06.2011, 01:24
Re: GetMaxPlayers() - by __ - 04.06.2011, 02:21
Re: GetMaxPlayers() - by nuriel8833 - 04.06.2011, 06:09
Re: GetMaxPlayers() - by Ash. - 04.06.2011, 08:32
Re: GetMaxPlayers() - by nuriel8833 - 04.06.2011, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)