26.06.2011, 15:50
To use KillTimer, you have to create a new timer first.
Example:
Learn more about timers here:
SetTimer
KillTimer
Example:
pawn Код:
//At the top of your script.
new MyTimer;
//When you want to start your timer..
MyTimer = SetTimer("function", 5000, true);
//Somewhere in your cmd or when you want to stop the timer..
KillTimer(MyTimer);
SetTimer
KillTimer