Panel.Remove
From GMod Wiki
Function | |
Syntax | Panel:Remove( ) |
Description: | |
Removes the panel. This will remove any panels parented to this panel, any panels parented to those panels, and so on. Everything below the panel you remove (hierarchy-wise) will be removed. | |
Returns: | nil |
In Object: | Panel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.Remove]Panel.Remove [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- Make sure you remove your panel after you're done using it! It will stay in memory if you don't. The only way you can get it out of memory then is by shutting down the client or by having the server change the map.