DMenu.Hide

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameHide
SyntaxDMenu:Hide( )
DescriptionUsed for hiding the DMenu from sight, can be retrieved again with DMenu.Open
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=DMenu.Hide]DMenu.Hide [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionStops a menu from being shown.
Used onNewerClient.png
Code
function HideMenu(DMenu)
	DMenu:Hide()
end
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox