Gamemode.GetGameDescription
From GMod Wiki
Event Hook | |
Hook Name | GetGameDescription |
Syntax | GM:GetGameDescription( ) |
Description | Called everytime the Serverbrowser want the Gamename |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.GetGameDescription]Gamemode.GetGameDescription [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Prints the Name of the Gamemode to the Serverbrowser |
---|---|
Used on | |
Code | function GM:GetGameDescription() return "My Gamemode Name" end |
Output | Name of the Current Gamemode. |