22.07.2012, 01:55
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;
}
}
Код:
[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.