Garry's Mod Wiki

Revision Difference

ControlPanel:ControlValues#518255

<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> <args> <arg name="data" type="table">A two-membered table:&#xA;* &lt;page&gt;boolean&lt;/page&gt; closed - Sets if the control panel should be unexpanded.&#xA;* &lt;page&gt;string&lt;/page&gt; label - The text to display inside the control&#x27;s label.</arg>⤶ <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>