Garry's Mod Wiki

DColorPalette:DoClick

  DColorPalette:DoClick( table clr, Panel btn )

Description

We advise against using this. It may be changed or removed in a future update.

Basically the same functionality as DColorPalette:OnValueChanged, you should use that instead!

Arguments

1 table clr
The new color via the Color
2 Panel btn
The DColorButton that was pressed.