SA-MP Forums Archive
Any way to limit bike jumping? - 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: Any way to limit bike jumping? (/showthread.php?tid=631980)



Any way to limit bike jumping? - AndreiWow - 07.04.2017

Is there any workaround to limit bike jumping? It can jump very high atm...

Maybe lower the gravity when the player enters a bike?


Re: Any way to limit bike jumping? - coool - 08.04.2017

There isn't any native SetPlayerGravity. Maybe a plugin would have this??
But you can use SetVehicleVelocity when player jumps


Re: Any way to limit bike jumping? - GoldenLion - 08.04.2017

Quote:
Originally Posted by coool
Посмотреть сообщение
There isn't any native SetPlayerGravity. Maybe a plugin would have this??
But you can use SetVehicleVelocity when player jumps
https://sampforum.blast.hk/showthread.php?tid=513499
But I think SetVehicleVelocity would be better.


Re: Any way to limit bike jumping? - AndreiWow - 08.04.2017

Thank you