Garry's Mod Wiki

Garry's Mod Wiki

  table spawnmenu.GetPropTable()

Description

Returns a table of all prop categories and their props in the spawnmenu.

Note that if the spawnmenu has not been populated, this will return an empty table.

This will not return spawnlists created by addons, see spawnmenu.GetCustomPropTable for that.

Returns

1 table
Table of all the prop categories and props in the following format:
{ ["settings/spawnlist/001-construction props.txt"] = { name = "Construction Props", icon = "icon16/page.png", id = 1, parentid = 0, needsapp = "", contents = { { model = "models/Cranes/crane_frame.mdl", type = "model" } -- etc. }, } -- etc. }

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...