Garry's Mod Wiki

ControlPanel:ControlValues

  ControlPanel:ControlValues( table data )

Description

Sets control values of the control panel.

Arguments

1 table data
A two-membered table:
  • boolean closed - Sets if the control panel should be unexpanded.
  • string label - The text to display inside the control's label.