spawnmenu.CreateContentIcon

From Garry's Mod
Jump to: navigation, search
 spawnmenu.CreateContentIcon( )

Contents

Description

Creates a new content icon.

Arguments

string type

The type of the content icon.

Arguments

Panel parent

The parent to add the content icon to.

Arguments

table data

The data to send to the content icon in spawnmenu.AddContentType

Returns

Panel

The created content icon, if it was returned by spawnmenu.AddContentType
Personal tools
Navigation