Timer isn't getting killed!
#2

Set your "PlayerZoneTimer" array's default value to be -1. While setting it, if it's not equal to -1 (which means it's already active), don't call the timer. Timers can be repeating in case if duplicates are created.

pawn Код:
if(mytimer == -1)
    SetTimer(...); //else I'm not setting the timer.
Reply


Messages In This Thread
Timer isn't getting killed! - by Dan. - 14.07.2015, 14:09
Re: Timer isn't getting killed! - by Lordzy - 14.07.2015, 14:22
Re: Timer isn't getting killed! - by notime - 14.07.2015, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)