KillTimer help
#1

how can i kill a timer if i get this error:
Code:
error 076: syntax error in the expression, or invalid function call
how can i fix it?
line:
Code:
KillTimer(Stunt_Timer);
Reply
#2

Have you added
pawn Code:
new Stunt_Timer;
Stunt_Timer = SetTimer( ... ); // Or SetTimerEx( ... )
??
Reply
#3

Quote:
Originally Posted by Mean
View Post
Have you added
pawn Code:
new Stunt_Timer;
Stunt_Timer = SetTimer( ... ); // Or SetTimerEx( ... )
??
i tried it... but it didn't work... i did:
new Stunt_Timer;
and in a command:
Stunt_Timer = SetTimer("Stunt_Timer", 60000, true);
Reply
#4

anyone**?
Reply
#5

are you sure you added the "new Stunt_Timer" out of a public function? (as global variable)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)