Garry's Mod Wiki

spawnmenu.CreateContentIcon

spawnmenu.CreateContentIcon

  Panel spawnmenu.CreateContentIcon( string type, Panel parent, table data )

Description

Creates a new content icon.

Arguments

1 string type
The type of the content icon.
2 Panel parent
The parent to add the content icon to.
3 table data
The data to send to the content icon in spawnmenu.AddContentType

Returns

1 Panel
The created content icon, if it was returned by spawnmenu.AddContentType

Special Pages


Wikis

?

Render Time: 51ms

DB GetPage 28
Generate Html 8
SaveChanges (1) 6
Render Body 0
Render Sidebar 7