Garry's Mod Wiki

Garry's Mod Wiki

  string GM:GetGameDescription()

Description

Called when the game(server) needs to update the text shown in the server browser as the gamemode.

This hook (and the sv_gamename_override command) may not work on some popular gamemodes like DarkRP or Trouble Terrorist Town. This is not a bug, it's just how it works. See here for more information.

Also, it only works on dedicated servers and is called at regular intervals (about one second) even if the server has no players and the hibernation function is enabled.

Returns

1 string
The text to be shown in the server browser as the gamemode.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...