Here is a script, what must overturn and repair car with saving angle and velocity:
if ( pPlayer.Vehicle )
{
local a = pPlayer.Vehicle.Angle;
local v = pPlayer.Vehicle.Velocity;
pPlayer.Vehicle.Fix();
pPlayer.Vehicle.Pos = pPlayer.Vehicle.Pos;
pPlayer.Vehicle.Angle = a;
pPlayer.Vehicle.Velocity = v;
}
But angle isn't saving and car turns in random direction. Please help solve the problem.