G.GetControlPanel

From GMod Wiki

Revision as of 02:06, 12 December 2010 by Wizard of Ass (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax GetControlPanel( String controlspanel_name )
Where is this used?
Description:
Fetches a ControlsPanel object by a given name or returns nil. This function is deprecated because it is an alias of controlpanel.Get!
Returns: Panel ControlsPanel
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.GetControlPanel]G.GetControlPanel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionFetches the materials panel
Used onNewerClient.png
Code
local MatCP = GetControlPanel("material")
OutputN/A


Additional Notes


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox