Timer problem
#1

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?
Reply
#2

pawn Код:
... "dd", playerid, zoneid);
Reply
#3

Ah.. So i see that for each integer we add a d ? Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)