Timer problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Timer problem (
/showthread.php?tid=518138)
Timer problem -
Battlezone - 08.06.2014
Hi, i have set this timer:
pawn Код:
ZUpdateTimer[zoneid] = SetTimerEx("ZUpdate", 1000, 1, "d", playerid, zoneid);
(zoneid and playerid are integers)
and associated it to this function:
pawn Код:
forward ZUpdate(playerid, zoneid);
public ZUpdate(playerid, zoneid)
But the zoneid is always 0 when i use it ( for example i set zoneid 4 in the script; it stays 0 ...) Help?
Re: Timer problem -
Konstantinos - 08.06.2014
pawn Код:
... "dd", playerid, zoneid);
Re: Timer problem -
Battlezone - 08.06.2014
Ah.. So i see that for each integer we add a d ? Thanks