Garry's Mod Wiki

ControlPresets

ControlPresets

Description

A preset manager, found at the top of almost every default tool's C-menu.

This control only exists in Sandbox derived gamemodes.

Parent

Derives methods, etc not listed on this page from Panel.

Methods

ControlPresets:AddConVar( string convar )
Adds a convar to be managed by this control.
table ControlPresets:GetConVars()
Get a list of all Console Variables being managed by this panel.
ControlPresets:SetLabel( string name )
Set the name label text.

Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 2
Generate Html 4
SaveChanges (1) 12
Render Body 0
Render Sidebar 7