Numplayers

From EDukeWiki
Revision as of 11:26, 12 October 2009 by Fox (talk | contribs)
Jump to navigation Jump to search

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.