SA-MP Forums Archive
Vehicle Color How? - 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: Vehicle Color How? (/showthread.php?tid=371415)



Vehicle Color How? - Gooday - 23.08.2012

Hey guys I have some dynamic vehicles (like CreateVehicle(....) But how could I set these vehicle's color?


Re: Vehicle Color How? - Ranama - 23.08.2012

ChangeVehicleColor
Use This


Re: Vehicle Color How? - kbalor - 23.08.2012

You mean like this?
Let's say:

Quote:

CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);

CreateVehicle(Model,X.X,Y.Y,Z.Z,FacingAngle,Color1 ,Color2,RespawnDelay)

CreateVehicle(Model,X.X,Y.Y,Z.Z,FacingAngle,0(is black),1(is white),RespawnDelay)




Re: Vehicle Color How? - Dan. - 23.08.2012

You can do this:

pawn Код:
ChangeVehicleColor(CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);
, 25, 25);