30.10.2015, 02:14
Lets say we use you function
Now the timer id stored is 1. Just after the timer ends, we execute a custom timer:
Its id is 1 as well, but just after execution, we use your function again (note the custom timer is still alive):
Your include kills "very_important_timer" timer, because as i previously mentioned, you don't have a check, or you don't reset the variable to "0" when the timers are no more running.
pawn Код:
ShowInfoBox(..);
pawn Код:
SetTimer("very_important_timer", ...);
pawn Код:
ShowInfoBox(..);