player.GetAll
Description
Gets all the current players in the server (not including connecting clients).
This function returns bots as well as human players. See player.GetBots and player.GetHumans.
Returns
Example
Prints all the players currently in the server.
Output: 1 = [Player][1][Player1]
2 = [Player][2][Bot01]
3 = [Player][3][Bot02]
Example
Prints the number of players in the server. The same output can be achieved more efficiently with player.GetCount.
Output: 3