| Blockland Forums > Modification Help |
| Accessing Spray Can colors from the client |
| (1/1) |
| Port:
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. |
| Nexus:
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. |
| Port:
--- Quote from: Nexus on February 04, 2012, 11:43:54 AM ---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. --- End quote --- Oh, I thought that function was server-sided only. Thanks anyway. |
| Navigation |
| Message Index |