Posts: 1,121
Threads: 139
Joined: Nov 2009
Reputation:
0
Hi, I've already searched the whole forum for this, but found nothing that really I needed.
Can someone show me a small example of how to detect if a vehicle is on it's roof?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
You'd need to get the X and Y angle for that, which is not possible with that function. Look into using GetVehicleRotationQuat.
Posts: 1,121
Threads: 139
Joined: Nov 2009
Reputation:
0
Thanks guys, maybe an example? I'm new to this function, never used it really.
Posts: 698
Threads: 107
Joined: Mar 2010
Reputation:
0
Well, if your trying to make a flip command/function in your server, you should simply just get the vehicle position in a variable, and then set the vehicle position to that variable, and then the vehicle will flip onto its wheels again.