Garry's Mod Wiki

DColorButton:SetID

  DColorButton:SetID( number id )

Description

An AccessorFunc that is used internally by DColorPalette to detect which button is which.

Pairs with DColorButton:GetID

Arguments

1 number id
A unique ID to give this button