sm.player.getAllPlayers
Returns a table of all players that are currently in the game.
Kind: Function
Environments: Game
Game
sm.player.getAllPlayers( getInactive )
Parameters:
| Name | Type | Description |
|---|---|---|
getInactive (optional) |
boolean | Include getting inactive players. Defaults to false. (Optional) |
Returns:
| Type | Description |
|---|---|
| table | Table of all players in the game. {Player, ..} |