Gamemode.OnContextMenuClose
From GMod Wiki
| Event Hook | |
| Hook Name | OnContextMenuClose |
| Syntax | GM:OnContextMenuClose( ) |
| Description | Called when a player closes the Context Menu |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.OnContextMenuClose]Gamemode.OnContextMenuClose [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints message upon closing |
|---|---|
| Used on | |
| Code | function GM:OnContextMenuClose( ) print( "Context menu closed." ) end |
| Output | N/A |