Gamemode.OnContextMenuClose

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameOnContextMenuClose
SyntaxGM:OnContextMenuClose( )
DescriptionCalled when a player closes the Context Menu
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.OnContextMenuClose]Gamemode.OnContextMenuClose [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints message upon closing
Used onNewerClient.png
Code
 
function GM:OnContextMenuClose( )
     print( "Context menu closed." )
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox