Garry's Mod Wiki

game.MaxPlayers

  number game.MaxPlayers()

Description

Returns the maximum amount of players (including bots) that the server can have.

Returns

1 number
The maximum amount of players