Garry's Mod Wiki

Revision Difference

DColorPalette:SetColorButtons#518150

<function name="SetColorButtons" parent="DColorPalette" type="panelfunc"> <ispanel>yes</ispanel> <description>Clears the palette and adds new buttons with given colors.</description> <realm>Client</realm> <args> <arg name="tab" type="table">A number indexed table where each value is a &lt;page&gt;Color&lt;/page&gt;</arg>⤶ <arg name="tab" type="table">A number indexed table where each value is a <page>Color</page></arg>⤶ </args> </function>