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.