Flipped car respawn


I want to ask is there a way to respawn a vehicle if it flipped? For example, you are driving somewhere in Los Santos and your vehicle flips. Of course it sets on fire and explodes. When it explodes it would not respawn in its original position but it would respawn where it exploded? Also if vehicle would be exploded in any other way (with commands, set on fire and etc) it would respawn in its original place.

Is there a way? Any suggestions?

i think u can detect if its flipped with GetVehicleRotationQuat

Forum Jump:

Users browsing this thread: 1 Guest(s)