OnPlayerUpdate Randomly Stop Working
#8

Is there anything wrong with calling this function in a timer? Cause I can't find anything in the speedometer that would cause this problem (other than the timer issue that I mentioned above that I'm not 100% sure of)

Код:
stock IsVehicleUpsideDown(vehicleid)
{
    new Float:quat_w,Float:quat_x,Float:quat_y,Float:quat_z;
    GetVehicleRotationQuat(vehicleid,quat_w,quat_x,quat_y,quat_z);
    new Float:y = atan2(2*((quat_y*quat_z)+(quat_w*quat_x)),(quat_w*quat_w)-(quat_x*quat_x)-(quat_y*quat_y)+(quat_z*quat_z));
    return (y > 90 || y < -90);
}
Reply


Messages In This Thread
Desync Issue - I've looked everywhere and would appreciate help - by MisterTickle - 15.07.2011, 02:40
Re: OnPlayerUpdate Randomly Stop Working - by Calgon - 15.07.2011, 02:52
Re: OnPlayerUpdate Randomly Stop Working - by DRIFT_HUNTER - 15.07.2011, 03:06
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 12:40
Re: OnPlayerUpdate Randomly Stop Working - by [L3th4l] - 29.09.2011, 13:49
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 14:05
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 14:17
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 14:27
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 07.10.2011, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)