21.04.2009, 19:51
No i see that distance is 0.00000 
All i can do is crying for help again, i tried "iffi" AND "ifff" .....
call the function
in "checkregion"
the log
I think im to stupid for the Timer

All i can do is crying for help again, i tried "iffi" AND "ifff" .....
call the function
Код:
new Yy = Y - 500;
SetTimerEx("checkregion",10000,0,"iffi",playerid,X-500,Yy,500);
Код:
new Float:X,Float:Y,Float:Z;
GetPlayerPos(killerid,X,Y,Z);
oldx2 = oldx + distance + distance;
oldy2 = oldy - distance - distance;
printf("%f",distance); //Distanz
printf("%f",oldx); //down
printf("%f",oldx2); //top
printf("%f",oldy); //left
printf("%f",oldy2); //right
printf("%f",X); // x position
printf("%f",Y); // y position
Код:
[21:47:18] 0.000000 [21:47:18] 996.320678 [21:47:18] 996.381713 [21:47:18] 1714.896972 [21:47:18] 1714.774902 [21:47:18] 1557.694213 [21:47:18] 2233.951904

