vgui.Create
Description
Creates a panel by the specified classname.
Custom VGUI elements are not loaded instantly. Use GM:OnGamemodeLoaded to create them on startup.
Arguments
1 string classname
Classname of the panel to create.
Default panel classnames can be found on the VGUI Element List.
New panels can be registered via vgui.Register
3 string name = nil
Custom name of the created panel for scripting/debugging purposes. Can be retrieved with Panel:GetName.
Returns
Page views: 83,609
Updated: A Long Time Ago
Updated: A Long Time Ago