SA-MP Forums Archive
SetObjectMaterial - I Have a question - 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 - I Have a question (/showthread.php?tid=624023)



SetObjectMaterial - I Have a question - leosmile - 09.12.2016

Hi friends, i have a problem..

i've tried so set a ARGB Color to the texture, for example:

SetDynamicObjectMaterial(CreateDynamicObject(19454 , 1531.75061, -1658.66479, 14.07357, 0.00000, 0.00000, 0.00000), 0, -1, "none", "none", 0x00FF00FF);

But the object is trasparent.. WHY?!

I can't use all ARGB colors?

Exists a specific list of the supported colors?

HELP ME


Re: SetObjectMaterial - I Have a question - AbyssMorgan - 09.12.2016

Look your color here
http://8.ct8.pl/color/
00FF00FF Convert from ARGB
Your alpha is 0.


Re: SetObjectMaterial - I Have a question - leosmile - 09.12.2016

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
Look your color here
http://8.ct8.pl/color/
00FF00FF Convert from ARGB
Your alpha is 0.
Thanks, works!