Gamemode.GetGameDescription

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameGetGameDescription
SyntaxGM:GetGameDescription( )
DescriptionCalled everytime the Serverbrowser want the Gamename
ReturnsNil
Lua StateNewerServer.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.GetGameDescription]Gamemode.GetGameDescription [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionPrints the Name of the Gamemode to the Serverbrowser
Used onNewerServer.png
Code
 
 function GM:GetGameDescription() 
 	return "My Gamemode Name" 
 end
OutputName of the Current Gamemode.




Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox