Author Topic: Accessing Spray Can colors from the client  (Read 689 times)

How do I do this? I've tried looping through GuiSwatchCtrl's in HUD_PaintBox, but if the row isn't active, the color values will have modified transparency.

getcoloridtable(%a);

%a is an integer from 0 to 63

It will output the RGBA code of the corresponding color, with 0 being the top left, going down columns to the bottom right.

getcoloridtable(%a);

%a is an integer from 0 to 63

It will output the RGBA code of the corresponding color, with 0 being the top left, going down columns to the bottom right.

Oh, I thought that function was server-sided only. Thanks anyway.