Quote:
Originally Posted by Crow
There's players and allplayers. The first always refers to the players in the level the code is executed in. The latter refers to all players on the server.
|
To clarify,
allplayers is an array of player objects (
TServerPlayer) for every player online.
players is an array of every player in the current level (on GMAPs, every player within roughly a one-level radius).
When you're doing
players.size(), it's just returning the number of items in the array.