SA-MP Forums Archive
Material color rep+ - 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: Material color rep+ (/showthread.php?tid=643066)



Material color rep+ - Mijata - 12.10.2017

How to change color of object, i don't want to change material just color...
Example: I want to change that water to green



Re: Material color rep+ - Kraeror - 12.10.2017

Check the function SetObjectMaterial's last parameter!
https://sampwiki.blast.hk/wiki/SetObjectMaterial


Re: Material color rep+ - Mijata - 12.10.2017

This happened, object is above the floor..


Код:
SetDynamicObjectMaterial(Voda[i], 0, -1, "none", "none", 0xAA40ff00);



Re: Material color rep+ - Mijata - 12.10.2017

Maybe is problem at color code?


Re: Material color rep+ - Mijata - 12.10.2017

Thanks fixed rep+