A somewhat better approach of flipping a vehicle

Started by Xmair, Jun 23, 2019, 11:45 AM

Previous topic - Next topic

Xmair

I've noticed a lot of people using the standard flip command which always changes the vehicle's direction to North. I was playing with rotations today and was able to make a somewhat better command that actually flips your vehicle in the direction it was, without changing it's direction to North all the time.

The code has been moved to pastebin for indentation's sake.
https://pastebin.com/dKgSfEiC

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Rardodus Bruise

Quote from: Xmair on Jun 23, 2019, 11:45 AMI've noticed a lot of people using the standard flip command which always changes the vehicle's direction to North. I was playing with rotations today and was able to make a somewhat better command that actually flips your vehicle in the direction it was, without changing it's direction to North all the time.

The code has been moved to pastebin for indentation's sake.
https://pastebin.com/dKgSfEiC
Nice work!