Vehicle paintjob and color - 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: Vehicle paintjob and color (
/showthread.php?tid=628274)
Vehicle paintjob and color -
pollo97 - 08.02.2017
Hi everyone,
I did not understand how to change vehicle paintjob adapting it to the color.
Example:
When player connect, after vehicle spawn, I use this command:
Код:
ChangeVehiclePaintjob(vehid, paintjob);
ChangeVehicleColor(vehid, color1, color2);
But paintjob doesn't adapt to vehicle color. If someone had the same trouble, can help me?
This is what i have:
http://i.imgur.com/C9ASG7i.png
This is what i want:
http://i.imgur.com/OtCokx0.png
Thanks in advance.