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



Vehicle colours - Andy_McKinley - 02.03.2010

I tried ChangeVehicleColour to change the colour of some vehicles on map. Didn't work, or am I doing something wrong?

pawn Код:
AddStaticVehicle(411, -1987.244140625, 307.38363647461, 34.979354858398, 89.759887695313, -1, -1);
ChangeVehicleColour(411, 1, 1);
Not working.


Re: Vehicle colours - [HiC]TheKiller - 02.03.2010

pawn Код:
new Car = AddStaticVehicle(411, -1987.244140625, 307.38363647461, 34.979354858398, 89.759887695313, -1, -1);

ChangeVehicleColour(Car, 1, 1);
You cant use the model ID.