Car problem... - 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: Car problem... (
/showthread.php?tid=347611)
Car problem... -
Geniuss - 02.06.2012
Well when i buy a car and i drive around in it and it either blows up or i enter a interior and come out the colour of ym car changes every time how could i change this ?
Help is appreciated
Re: Car problem... -
Yuryfury - 02.06.2012
Are color1 and color2 set to
-1 in CreateVehicle or AddStaticVehicle?
Re: Car problem... -
Geniuss - 02.06.2012
Quote:
Originally Posted by Yuryfury
Are color1 and color2 set to -1 in CreateVehicle or AddStaticVehicle?
|
I want it so the colours wont change
Yes some of them are set to -1
Re: Car problem... -
Yuryfury - 02.06.2012
Setting a car color to -1 makes it random. That is why when it respawns it changes color. Simply set it to a number 0-255.