Garry's Mod Wiki

Revision Difference

ControlPanel:ControlValues#552153

<function name="ControlValues" parent="ControlPanel" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets control values of the control panel.</description> <file line="107-L114">gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua</file>⤶ <realm>Client</realm> <file line="138-L145">gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua</file>⤶ <args> <arg name="data" type="table">A two-membered table: * <page>boolean</page> closed - Sets if the control panel should be unexpanded. * <page>string</page> label - The text to display inside the control's label.</arg> </args> </function>