Garry's Mod Wiki
Description
Used to create a new category in the list inside of a spawnmenu ToolTab.
You must call this function from SANDBOX:AddToolMenuCategories for it to work properly.
Arguments
1 string tab
The ToolTab name, as created with spawnmenu.AddToolTab.
You can also use the default ToolTab names "Main" and "Utilities".
Example
Adds the Constraints category to the Main ToolTab. See lua\includes\modules\spawnmenu.lua
.
Example
Adds the User category to the Utilities ToolTab. See lua\autorun\utilities_menu.lua
.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...