GetMaxPlayers
Jump to navigation
Jump to search
Description
This function returns the maximum number of player slots on the server.
Syntax
int getMaxPlayers ()
Required Arguments
This function has no arguments.
Example
playermax = GetMaxPlayers () outputChatBox ( "There are currently ", playermax, " player slots in this server." )
See Also
- getMaxPlayers
- getServerConfigSetting
- getServerHttpPort
- getServerName
- getServerPassword
- getServerPort
- isGlitchEnabled
- setGlitchEnabled
- setMaxPlayers
- setServerConfigSetting
- setServerPassword
- shutdown