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



SetVehicleVelocity - Torran - 06.02.2010

I know how to make the car jump,
But i want it to go forward and jump,
How would i do that?


Re: SetVehicleVelocity - Correlli - 06.02.2010

There are some boost scripts on this forum, check them.


Re: SetVehicleVelocity - ¤Adas¤ - 06.02.2010

Try this:
pawn Код:
new Float:Speed[3];
GetVehicleVelocity(vehicleid, Speed[0], Speed[1], Speed[2]);
SetVehicleVelocity(vehicleid, Speed[0], Speed[1], floatadd(Speed[2], 0.1)); // You can use my SetVehicleForwardVelocity.



Re: SetVehicleVelocity - Torran - 06.02.2010

Thanks,
Could you help me on: http://forum.sa-mp.com/index.php?topic=151058.0