Blockland Forums > Modification Help

Set Current Paint Color

Pages: << < (2/2)

Greek2me:


--- Quote from: lilboarder32 on April 24, 2011, 06:23:39 PM ---What happens if you set %client.currentColor? Does it update anything?

--- End quote ---
Sounds like that would be a server sided thing.

Destiny/Zack0Wack0:

commandToServer('useSprayCan',colorid);

MegaScientifical:


--- Quote from: Destiny/Zack0Wack0 on April 25, 2011, 12:06:00 AM ---commandToServer('useSprayCan',colorid);

--- End quote ---

$Paint_Row[$CurrPaintRow].swatch[$CurrPaintSwatch].color
HUD_PaintIcon.getColor();

Don't remember what of those would go in colorID. Meh.


Reinforcements:


--- Quote from: TheRealMint on April 24, 2011, 04:17:38 PM ---Does anyone know how to change which paint color is selected in a client-side add-on? Thanks

--- End quote ---
.
Try looking at the Land Scape Generator's code. =o

Pages: << < (2/2)

Go to full version