14.11.2010, 09:47
Okay so,im making a small FS in which u can change your car to whichever u want!
I also want when i change the car to keep the same velocity as it had when i was driving the car!
I made somthing like this
new Float:VelocityX, Float:VelocityY,Float:VelocityZ;
Then on the command
GetVehicleVelocity(GetPlayerVehicleID(i), VelocityX, VelocityY, VelocityZ);
and also...
SetVehicleVelocity(newveh, VelocityX, VelocityY, VelocityZ);
But when i spawn in a different car the Velocity its set to 0.
Help
I also want when i change the car to keep the same velocity as it had when i was driving the car!
I made somthing like this
new Float:VelocityX, Float:VelocityY,Float:VelocityZ;
Then on the command
GetVehicleVelocity(GetPlayerVehicleID(i), VelocityX, VelocityY, VelocityZ);
and also...
SetVehicleVelocity(newveh, VelocityX, VelocityY, VelocityZ);
But when i spawn in a different car the Velocity its set to 0.
Help