[FilterScript] Wheelie

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:



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:
I love new functionality in SA-MP, and this would be great, as that used in wheelie script.

Have fun!
Thank you!

Great job!

That realism though Aha.

Not a bad release to be fair.

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?

Not bad at all!

Forum Jump:

Users browsing this thread: