new Car = AddStaticVehicle(411, -1989.1124267578, 275.22570800781, 34.979354858398, 89.75830078125, -1, -1);
ChangeVehicleColor(411, 1, 1);
AddStaticVehicle(411, -1989.4748535156, 270.34594726563, 34.979354858398, 89.75830078125, -1, -1);
ChangeVehicleColor(411, 1, 1);
AddStaticVehicle(415, -1989.5379638672, 265.61108398438, 35.028877258301, 85.684814453125, -1, -1);
ChangeVehicleColor(415, 1, 1);
AddStaticVehicle(558, -1990.2591552734, 261.15313720703, 34.883148193359, 87.69970703125, -1, -1);
ChangeVehicleColor(558, 1, 1);
AddStaticVehicle(439, -1990.6604003906, 257.396484375, 35.171875, 89.729858398438, -1, -1);
ChangeVehicleColor(439, 1, 1);
AddStaticVehicle(439, -1990.6623535156, 253.12446594238, 35.171875, 89.725341796875, -1, -1);
ChangeVehicleColor(439, 1, 1);
AddStaticVehicle(439, -1990.8983154297, 248.93988037109, 35.171875, 89.725341796875, -1, -1);
ChangeVehicleColor(439, 1, 1);
AddStaticVehicle(560, -1991.2308349609, 245.41848754883, 34.976848602295, 83.77490234375, -1, -1);
ChangeVehicleColor(560, 1, 1);
AddStaticVehicle(560, -1991.5975341797, 241.42695617676, 34.976848602295, 83.770751953125, -1, -1);
ChangeVehicleColor(560, 1, 1);
Originally Posted by Torran
One question? Why do you create the vehicle and then change the vehicles colour,
Why not change the colour when adding the vehicle |
Originally Posted by Andy McKinley
I did, but someone in my old topic told me to do that.
http://forum.sa-mp.com/index.php?topic=156576.0 |
Originally Posted by Don Correlli
ChangeVehicleColor function requires vehicle-ID parameter, not model-ID.
|
Originally Posted by Don Correlli
Quote:
Quote:
|