SA-MP Forums Archive
SetObjectMaterial coloring - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetObjectMaterial coloring (/showthread.php?tid=531182)



SetObjectMaterial coloring - Acres - 11.08.2014

hey guys i wanted to ask you a question i know i have done many maps with setobjectmaterial but i wanted to know how i can great something like more modern i mean like COlor White/Light Blue/Green and so on? Please answer ASAP


Re: SetObjectMaterial coloring - SKAzini - 11.08.2014

The last parameter in SetObjectMaterial holds the material color. White is 0xFFFFFFFF, light blue is 0xFF00E5FF, green is 0xFF6FF522. Get color hexes from http://www.colorpicker.com/, put the HEX after 0xFF and there you have it.


Re: SetObjectMaterial coloring - Acres - 11.08.2014

TYVM