#ifdef SERVER
modded class CarScript
{
override void OnUpdate( float dt )
{
super.OnUpdate(dt);
this.SetOrientation(this.GetOrientation());
}
}
//Or
modded class CarScript
{
override void EOnSimulate(IEntity other, float dt)
{
super.EOnSimulate(other,dt);
vector m[4]
this.GetTransform(m);
m[2] = this.GetDirection()
this.SetTransform(m);
}
}
#endif