Timer Problem
#1

pawn Код:
#include <timerfix> //---- By Slice ----//

forward ANGLE_UPDATE();

public OnFilterScriptInit()
{
    SetTimer("ANGLE_UPDATE" , 700, true);
    return 1;
}

public ANGLE_UPDATE()
{
    for(new g=0;g<MAX_PLAYERS;g++)
    {
        new Float:x, Float:y, Float:z;
        if(IsPlayerInAnyVehicle(g))
        {
            GetVehiclePos(GetPlayerVehicleID(g), x, y, z);
        }
        else GetPlayerPos(g, x, y, z);
        ppos[g][0] = x;
        ppos[g][1] = y;
        ppos[g][2] = z;
    }
}
DEBUG REPORT
Код:
[06:54:44] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:44] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:44] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:45] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:45] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:46] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:46] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:46] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:46] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:47] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:47] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:48] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:48] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:48] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:48] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:49] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:49] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:50] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:50] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
[06:54:51] (TimerFix) DEBUG: Calling: AngleUpdate()
[06:54:51] (TimerFix) ERROR: The function "AngleUpdate" didn't properly execute, some timers might not have been called.
How to fix that issue?
Reply


Messages In This Thread
Timer Problem - by Danyal - 22.07.2012, 01:55
Re: Timer Problem - by Danyal - 24.07.2012, 00:00
Re: Timer Problem - by SuperViper - 24.07.2012, 05:05
Re: Timer Problem - by Devilxz97 - 24.07.2012, 05:25
Re: Timer Problem - by Danyal - 24.07.2012, 23:17
Re: Timer Problem - by HDFord - 24.07.2012, 23:29
Re: Timer Problem - by Danyal - 24.07.2012, 23:41
Re: Timer Problem - by Chenko - 25.07.2012, 02:51
Re: Timer Problem - by Danyal - 25.07.2012, 23:49
Re: Timer Problem - by namespace - 26.07.2012, 00:03

Forum Jump:


Users browsing this thread: 1 Guest(s)