Garry's Mod Wiki

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 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.

Page Links


Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 30
Generate Html 3
SaveChanges (1) 15
Render Body 0
Render Sidebar 11