G.CloseDermaMenus
From GMod Wiki
Function | |
Syntax |
CloseDermaMenus( ) Where is this used? |
Description: | |
Closes all open derma menus. Add menus using G.RegisterDermaMenuForClose | |
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.CloseDermaMenus]G.CloseDermaMenus [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This is how the function is defined in the (Source Code) |
---|---|
Used on | |
Code | function CloseDermaMenus() for k, menu in pairs( tblOpenMenus ) do menu:Remove() end tblOpenMenus = {} end |
Output | N/A |