Garry's Mod Wiki

controlpanel.Get

Panel controlpanel.Get( string name )

Description

Returns (or creates if not exists) a controlpanel.

Arguments

1 string name
The name of the panel.

Returns

1 Panel
ControlPanel

Example

Get the Contextmenus panel for the weld tool.

local ControlPanel = controlpanel.Get( "Weld" )

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 2
Generate Html 5
SaveChanges 8
Render Body 0
Render Sidebar 11