SA-MP Forums Archive
[FilterScript] Wheelie - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Wheelie (/showthread.php?tid=572920)



Wheelie - gesior7 - 02.05.2015

Hello again!

A would like to share with you a filterscript that I made some time ago. The idea was to make use of new SA-MP function SetVehicleAngularVelocity(...) from SA-MP 0.3b. Some math conversions (quaternion to vector and vice-vresa) I took from the internet (Wikipedia and forums about game programming).
This script allows you to perform a wheelie with a car. For this you need some fast car with good acceleration (nitro is not necessary) and hydraulics might be required to initialize the bounce.
To do a wheelie, you use hydraulics to make front wheels go up (or back wheels go down), use the down arrow on keyboard, as you do with motorbikes and bikes, and then accelerate. Please watch the demonstration:

https://www.youtube.com/watch?v=6rS6TMv4__g

Code:

part one (PlayerConnect.inc): http://pastebin.com/H6nCJfwG
part two (wheelie.pwn): http://pastebin.com/3tAM8ZJp

Warning 1: Please give me credits, when re-releasing, copying or making any changes to the code.
Warning 2: This was written quite a lot of time ago and contains some bugs. Please use it with that in mind.

I would like also to ask SA-MP team for new functionality for vehicles to make use of, next time. I was talking about it in SA-MP 0.3.7 Suggestions thread:
http://forum.sa-mp.com/showthread.ph...24#post3428724
I love new functionality in SA-MP, and this would be great, as that used in wheelie script.

Have fun!
Thank you!


Re: Wheelie - CrazyRussainHacker - 06.05.2015

Great job!


Re: Wheelie - Cookland - 06.05.2015

That realism though Aha.

Not a bad release to be fair.


Re: Wheelie - Luft - 07.08.2015

D:\Server SAMP\pawno\include\PlayerConnect.inc(7) : fatal error 100: cannot read from file: "QuickList"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Link to QuickList.inc please?


Re: Wheelie - Synapse46 - 10.08.2015

Not bad at all!