SA-MP Forums Archive
How do you make a car a custom color when it spawns? - 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 do you make a car a custom color when it spawns? (/showthread.php?tid=109621)



How do you make a car a custom color when it spawns? - iPwnz0r - 21.11.2009

I wanna know how do you make a custom car that spawns with the same color everytime?
I already know the color ids.


Re: How do you make a car a custom color when it spawns? - Zeromanster - 21.11.2009

Replace color1 and color2 with you colour id's.

pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)