Question about timer for a player. - 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: Question about timer for a player. (
/showthread.php?tid=589879)
Question about timer for a player. -
Stoyanov - 23.09.2015
How is more correctly?
This:
Code:
timer[playerid] = SetTimerEx.......
or this:
Code:
timer = SetTimerEx.......
Re: Question about timer for a player. -
rappy93 - 23.09.2015
Both are correct, it all depends on what you're making the timer for. If you're making a player timer you could use timer[playerid] I guess. If you want to set a timer for a public then use timer = SetTimerEx.
Re: Question about timer for a player. -
Stoyanov - 23.09.2015
trying to make timer for 1 player. Thanks