Garry's Mod Wiki

DColorPalette:SetColorButtons

  DColorPalette:SetColorButtons( table tab )

Description

Clears the palette and adds new buttons with given colors.

Arguments

1 table tab
A number indexed table where each value is a Color