SetTimerEx issue
#1

Hello there,

I don't understand something about SetTimerEx function which is:


When I use SetTimerEx for example for a certain player (anything) and when the time pass (i dont want to stop the timer suddenly before it ends), do I need to use KillTimer?, I mean the time already passed why would I need to kill it etc.. please justify your answers thsi thing is a little bit confusing!.
Reply
#2

https://sampwiki.blast.hk/wiki/SetTimerEx

When repeating is true, the timer will keep ticking until killed.
When false, it will only tick once and die. You can also kill the timer before it even ticked.
Reply
#3

So if the repeating is set to 'false', and the time that was set has passed and everything worked, do I need to put under the public to KillTimer or not?
Reply
#4

Nope.
Reply
#5

No you don't it's not different than SetTimer, except the playerid parameter.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)