vgui.Register

From Garry's Mod
Jump to: navigation, search
 vgui.Register( )

Contents

Description

Registers a panel for later creation.

Arguments

string classname

Classname of the panel to create.

Arguments

table panelTable

The table containg the panel information.

Arguments

string baseName

Name of the base of the panel.

Returns

table

The given panel table from second argument
Personal tools
Navigation