Garry's Mod Wiki

GM:GetGameDescription

GM:GetGameDescription

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.
This hook only works on dedicated servers.

Returns

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

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 45
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 6