Library game

Game functions

Functions

getGamemode () Returns the gamemode as a String
getHostname () Returns The hostname
getMap () Returns the map name
getMaxPlayers () Returns the maximum player limit
isDedicated () Returns whether or not the server is a dedicated server
isLan () Returns true if the server is on a LAN
isSinglePlayer () Returns whether or not the current game is single player


Functions

game_lib.getGamemode ()
Returns the gamemode as a String
game_lib.getHostname ()
Returns The hostname
Deprecated: Possibly add ConVar retrieval for users in future. Could implement with SF Script.
game_lib.getMap ()
Returns the map name
game_lib.getMaxPlayers ()
Returns the maximum player limit
game_lib.isDedicated ()
Returns whether or not the server is a dedicated server
game_lib.isLan ()
Returns true if the server is on a LAN
Deprecated: Possibly add ConVar retrieval for users in future. Could implement with SF Script.
game_lib.isSinglePlayer ()
Returns whether or not the current game is single player

Valid XHTML 1.0!