Garry's Mod Wiki

ControlPanel:ToolPresets

ControlPanel:ToolPresets

  Panel ControlPanel:ToolPresets( string group, table cvarList )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

Creates a ControlPresets panel and adds it as an item.

Arguments

1 string group
The preset group. Must be unique.
2 table cvarList
A table of convar names as keys and their defaults as the values. Typically the output of Tool:BuildConVarList.

Returns

1 Panel
The created ControlPresets panel.

Special Pages


Wikis

?

Render Time: 73ms

DB GetPage 47
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 7