Best way to get vehicle color and paintjob? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Best way to get vehicle color and paintjob? (
/showthread.php?tid=118580)
Best way to get vehicle color and paintjob? -
Programie - 04.01.2010
Hi,
I want to script a Car-Saving-System to save cars tuned in Transfender or sprayed in Pay 'n Spray.
I known how to get the components in the vehicle, but I don't know how to get the vehicle color or vehicle painjob.
How can I get the vehicle color and paintjob, cause there is no GetVehicleColor() or GetVehiclePaintjob()?

The vehicles come from anywhere (Spawned by the game mode or any filter script, spawned by a command, bought in a car shop).
Re: Best way to get vehicle color and paintjob? -
[HiC]TheKiller - 04.01.2010
I tried to make this too, the closest I got to it was saving the paintjob using:
https://sampwiki.blast.hk/wiki/OnVehicleRespray
And
https://sampwiki.blast.hk/wiki/OnVehiclePaintjob