vgui.Create

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

Contents

Description

Creates a panel by the specified classname.

Arguments

string classname

Classname of the panel to create. Valid classnames are listed at: VGUI Element List.

Arguments

Panel parent=nil

Parent of the created panel.

Arguments

string name=nil

Name of the created panel.

Returns

Panel

panel
Personal tools
Navigation