Similar Angles
#1

Hi!

I have a little problem.

Code:
Код:
new Float:x, Float:y, Float:z;
new Float:angle;

GetObjectRot(obj, x,y,z);
GetVehicleZAngle(vid, angle);


if(??)
{
     GetVehicleDamageStatus(vid, status[0],status[1],status[2],status[3]);
     UpdateVehicleDamageStatus(vid, status[0],status[1],status[2], 0000);
     DestroyDynamicObject(obj);
}
How do I calculate if the angles are similar?

Screen - http://screenshooter.net/101871354/jrxjvlw
Reply


Messages In This Thread
Similar Angles - by MP_Spec - 18.01.2015, 14:07
Re: Similar Angles - by Pottus - 18.01.2015, 16:11
Re: Similar Angles - by Schneider - 18.01.2015, 16:36
Re: Similar Angles - by MP_Spec - 22.01.2015, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)