Garry's Mod Wiki

vgui.Register

vgui.Register

table vgui.Register( string classname, table panelTable, string baseName = "Panel" )

Description

Registers a panel for later creation.

Arguments

1 string classname
Classname of the panel to create.
2 table panelTable
The table containg the panel information.
3 string baseName = "Panel"
Name of the base of the panel.

Returns

1 table
The given panel table from second argument

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 47
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6