Y_Timer Question
#1

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)