Garry's Mod Wiki

Revision Difference

DColorPalette:SetColorButtons#550052

<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>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="tab" type="table">A number indexed table where each value is a <page>Color</page></arg> </args> </function>