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: 33ms

DB GetPage 3
Generate Html 8
SaveChanges (1) 11
Render Body 0
Render Sidebar 10