Garry's Mod Wiki

Revision Difference

DColorMixer:UpdateConVar#518125

<function name="UpdateConVar" parent="DColorMixer" type="panelfunc"> <ispanel>yes</ispanel> <description><internal></internal></description> <realm>Client</realm> <args> <arg name="cvar" type="string">The &lt;page&gt;ConVar&lt;/page&gt; name</arg> <arg name="part" type="string">The color part to set the cvar to. &quot;r&quot;, &quot;g&quot;, &quot;b&quot; or &quot;a&quot;.</arg> <arg name="clr" type="table">The &lt;page&gt;Color&lt;/page&gt;</arg>⤶ <arg name="cvar" type="string">The <page>ConVar</page> name</arg> <arg name="part" type="string">The color part to set the cvar to. "r", "g", "b" or "a".</arg> <arg name="clr" type="table">The <page>Color</page></arg>⤶ </args> </function>