Vice City: Multiplayer

Server Development => Scripting and Server Management => Snippet Showroom => Topic started by: Xmair on Jun 23, 2019, 11:45 AM

Title: A somewhat better approach of flipping a vehicle
Post by: Xmair on Jun 23, 2019, 11:45 AM
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
Title: Re: A somewhat better approach of flipping a vehicle
Post by: Rardodus Bruise on Jul 10, 2019, 10:00 AM
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!