SA-MP Forums Archive
0xFFFFFFFF and 0 - 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: 0xFFFFFFFF and 0 (/showthread.php?tid=548816)



0xFFFFFFFF and 0 - Banditukas - 02.12.2014

Hi,

SetObjectMaterial when i need set color is there any difference between 0xFFFFFFFF and 0?


Re: 0xFFFFFFFF and 0 - Raweresh - 02.12.2014

Yes, in this function 0xFFFFFFFF is white color but 0 is existing material color.
Quote:

The object color to set, as an integer or hex in ARGB color format. Using 0 keeps the existing material color.




Re: 0xFFFFFFFF and 0 - Banditukas - 02.12.2014

But in future textures page there gives 0xFFFFFFFF but no white color object material change just material no color change.