Y_Timer Question - 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: Y_Timer Question (
/showthread.php?tid=548097)
Y_Timer Question -
UnknownGamer - 27.11.2014
Hello,
Ok, so, I am working with Y_Timers, I have run into a problem that doesn't make any sense to me.
Example: timer NextLocation[5000](playerid) - defer NextLocation(playerid);
Now, if a player was to do /stopjob while the timer is running, how would I then kill the defer?
I tried stop NextLocation(playerid); that doesn't work? (kill also doesn't work, undefined symbol)
Thanks in advance.
Re: Y_Timer Question -
Misiur - 28.11.2014
https://sampforum.blast.hk/showthread.php?tid=182948
Quote:
defer
verb
put off (an action or event) to a later time; postpone.
"they deferred the decision until February"
synonyms: postpone, put off, adjourn, delay, hold over/off, put back, carry over; More
|
Deferred function is called once, then stops.