Numplayers: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
initially player indexes will go from 0 to numplayers-1 however this no longer holds once a player quits. | initially player indexes will go from 0 to numplayers-1 however this no longer holds once a player quits. | ||
This store the number of players in the game. | |||
In singleplayer, it is set to 1. | |||
[[multimode]] stores the total of player in the game, while '''numplayers''' stores only non-bot players. | |||
[[Category:Constantly updated gamevars]] | [[Category:Constantly updated gamevars]] |
Revision as of 10:26, 12 October 2009
numplayers is a gamevar that represents the number of players in the game.
initially player indexes will go from 0 to numplayers-1 however this no longer holds once a player quits.
This store the number of players in the game. In singleplayer, it is set to 1.
multimode stores the total of player in the game, while numplayers stores only non-bot players.