Can't kill a timer.
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Код:
KillTimer(message(playerid));
You are calling a public function that returns 1 so it kills the timer with ID 1. The correct is:
Код:
KillTimer(lowhp[playerid]); 
lowhp[playerid] = -1;
resetting afterwards just in case (to avoid killing other timers with the "old" timerid).
I can't thank you enough, it works flawlessly.
Reply


Messages In This Thread
Can't kill a timer. - by cs_waller - 28.07.2016, 15:33
Re: Can't kill a timer. - by Konstantinos - 28.07.2016, 15:38
Re: Can't kill a timer. - by cs_waller - 28.07.2016, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)