Garry's Mod Wiki

DColorButton:SetID

  DColorButton:SetID( number id )

Description

Used internally by DColorPalette to detect which button is which.

Arguments

1 number id
A unique ID to give this button