Player timers and Player timers with variable
#5

Quote:
Originally Posted by Kwarde
View Post
Always check SA-MP Wiki: SetTimer(Ex) returns the ID of the timer. On the same page you could have seen there's a KillTimer function.
Not killing timers will indeed mess things up if they are repeatable timers: At some point one player would have multiple timers running, making the script run more often.
Your examples are timers that don't repeat. So not assigning the timer ID to a player to kill it later won't hurt it that quick because the timer runs once (assuming it's not set again in the public function it calls)
Okay, so if I understand you correctly, if I dont set timer to repeat, I can do "SetTimerEx..." for multiple players at once without any problem ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)