SA-MP Forums Archive
SetObjectMaterial - 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 (/showthread.php?tid=563749)



SetObjectMaterial - Banditukas - 16.02.2015

Hi,

I want to completely change object material to color, but now material is still leaving and then color is changing. I want that only color be there.


Re: SetObjectMaterial - Pottus - 16.02.2015

You need to set the material to all white before setting a color if you want a solid color you can also use SetObjectMaterialText()


Re: SetObjectMaterial - Banditukas - 16.02.2015

And how with this function make object red?