Garry's Mod Wiki

CreationMenus

Description

Table that maintains information on the creation menu tabs. Each key of the table represents the name of the tab. See spawnmenu.AddCreationTab and spawnmenu.GetCreationTabs.

Members

function Function
The function used to generate the content of the tab.
Function return value(s):
1 Panel content - A container panel that holds all of the content for the new tab.
string Icon
The icon material that will accompany the title of the tab.
number Order
The order in which a tab will be displayed relative to the other tabs.
string Tooltip
The tooltip to be shown with the tab.