Liberty Unleashed
Scripting => Script Help => Topic started by: scherdee on August 19, 2012, 01:01:20 pm
-
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.
-
You cant fix this by scripts, cause Its a small server bug, that need to be fixed.