SA-MP Forums Archive
Help car colors - 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: Help car colors (/showthread.php?tid=660534)



Help car colors - PaulCrouseVS - 05.11.2018

Good Morning/Evenings/Nights ... I have a question, I want to change the color of the car ID: 597
But the problem is that I do not know how to change it, I do not really work with that kind of things, I'm more Mappear and all that haha , the fact is that I want to change the color to blue and I do not know how, here is a sample of my variables:

Code:
new CochesPolicia[60];

	CochesPolicia[0] = AddStaticVehicleAnt(596, 1601.9473, -1696.1240, 5.6107, 89.0810, 0, 1, VEHICULO_SPAWN);



Re: Help car colors - v1k1nG - 05.11.2018

https://sampwiki.blast.hk/wiki/Vehicle_Color_IDs
https://sampwiki.blast.hk/wiki/ChangeVehicleColor

You already did the rest!
Good luck


Re: Help car colors - Mike861 - 05.11.2018

Last two numbers are the colors, in this case they are 0 and 1 as you can see.
Code:
AddStaticVehicleAnt(596, 1601.9473, -1696.1240, 5.6107, 89.0810, 0, 1, VEHICULO_SPAWN);



Re: Help car colors - PaulCrouseVS - 06.11.2018

Ok, I'll try and report any errors.


Re: Help car colors - PaulCrouseVS - 06.11.2018

Ok, you can close theme friends. Thank you for helping.