Garry's Mod Wiki

Revision Difference

DColorPalette:UpdateConVar#554057

<function name="UpdateConVar" parent="DColorPalette" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description> <internal></internal> Internal helper function for <page>DColorPalette:UpdateConVars</page>. </description> <realm>Client and Menu</realm> <args> <arg name="name" type="string">The name of the console variable to set</arg> <arg name="key" type="string">The key of the 3rd argument to set the convar to Possible values: "r", "g", "b", "a"</arg> <arg name="clr" type="table">The <page>Color</page> to retrieve the info from.</arg> </args> </function>