Garry's Mod Wiki
Description
Adds a new tool tab to the right side of the spawnmenu. (usually via the SANDBOX:AddToolMenuTabs hook)
See spawnmenu.GetToolMenu for a function to retrieve existing tool tabs.
See spawnmenu.AddCreationTab for tabs on the left side of the spawnmenu.
See spawnmenu.AddToolCategory to add new categories to the newly created tool tab.
See spawnmenu.AddToolMenuOption to add new options to the categories within a tool tab.
Arguments
1 string name
The internal name of the tab. This is used for sorting, as well as adding categories, so it should be unique.
2 string label = "name"
The 'nice' name of the tab that is displayed to the player. See Addon Localization.
Example
Creates a new tab named, "Tab name!" with a unique name and a wrench icon.
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...
