SA-MP Forums Archive
How to get vehicle's color or 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: How to get vehicle's color or paintjob? (/showthread.php?tid=118652)



How to get vehicle's color or paintjob? - mysql7749 - 04.01.2010

How to get vehicle's color or paintjob?
I want to get them but there's no function.
Please, answer me.


Re: How to get vehicle's color or paintjob? - Wasim_Cortez - 04.01.2010

What do you mean? Do you want the Color IDs? Or do you want to know the color ID of a car?


Re: How to get vehicle's color or paintjob? - Rac3r - 04.01.2010

Not possible with SA-MP functions.

Although is can be coded with an array for MAX_VEHICLES. (But the mod shops wouldn't sync right if changed via mod shop menu). /vehcolour and /paintjob commands would work and sync right, if you update the array when the command is typed.

Short answer: You can't get vehicle colours or paintjobs with SA-MP default functions.