1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Equipped
  6. Food/Medicine
  7. Items
  8. Attributes
  9. Creatures
  10. Blocks
  11. Props
  12. API Types
  13. API Functions


number LT_player_count()

SERVER This has no effect if performed on the client (but will work in single player)

Returns the number of players in the current game. In single player this always returns 1 to represent the user. When running on the server, this will return the current number of active players.