controlpanel.Get

From Garry's Mod
Jump to: navigation, search
 controlpanel.Get( )

Contents

Description

Returns (or creates if not exists) a controlpanel.

Arguments

string name

The name of the panel.

Returns

Panel

ControlPanel

Examples

Example

Get the Contextmenus panel for the weld tool.

local ControlPanel = controlpanel.Get( "Weld" )


Personal tools
Navigation