SA-MP Forums Archive
Need help making a bunny hop-like function - 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: Need help making a bunny hop-like function (/showthread.php?tid=132771)



Need help making a bunny hop-like function - biltong - 09.03.2010

I need something that checks if the player has landed yet or is still in the air, like when you're bunny hopping on a mountain bike, you cant bunny hop in mid air. Right now I have a timer that lets you bunny hop every 5 seconds, but that's pretty lame. Is there a way to check if the player is in the air?


Re: Need help making a bunny hop-like function - [MWR]Blood - 09.03.2010

I think No


Re: Need help making a bunny hop-like function - Joe_ - 09.03.2010

I don't think so.

I mean, it's probably possible with a phew timers, but that'll be a CPU Hog and be Epixly unefficient.


Re: Need help making a bunny hop-like function - Calgon - 09.03.2010

I think you can with http://forum.sa-mp.com/index.php?topic=145196.0


Re: Need help making a bunny hop-like function - biltong - 10.03.2010

I'm gonna give that plugin a try, that's if I can work out how to use it, lol.

Sucks about the mem usage though. Just as well I've got memory to spare :P