Garry's Mod Wiki
Description
Used to create a new category in the list inside of a spawnmenu Tool Tab.
You must call this function from SANDBOX:AddToolMenuCategories for it to work properly.
See spawnmenu.AddToolTab to add new tool tabs.
See spawnmenu.AddToolMenuOption to add new sub options to a newly created tool category.
Arguments
You can also use the default Tool Tab 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 four times a day. Edits and history are not available.
Last Parsed: Loading...