#1

KillTimer(playerid,Sec1);

How i can make to set to kill the timer "Sec1" of a player when he die ?
Reply
#2

Put that code under OnPlayerDeath();
Reply
#3

Quote:
Originally Posted by Gazzy
Посмотреть сообщение
Put that code under OnPlayerDeath();
i get error error 076: syntax error in the expression, or invalid function call
Reply
#4

What is your set timer code?
Reply
#5

Get your settimer code and under OnPlayerDeath type KillTimer(Your Settimer Code);
Reply
#6

Quote:
Originally Posted by Gazzy
Посмотреть сообщение
Get your settimer code and under OnPlayerDeath type KillTimer(Your Settimer Code);
KillTimer(Sec1);
Reply
#7

Quote:
Originally Posted by BlackEvils
Посмотреть сообщение
KillTimer(Sec1);
Put your SetTimer or SetTimerEx code in KillTimer();
Reply
#8

Show the full code you're using for setting the timer.
Reply
#9

Quote:
Originally Posted by BlackEvils
Посмотреть сообщение
KillTimer(Sec1);
Quote:
Originally Posted by rymax99
Посмотреть сообщение
Show the full code you're using for setting the timer.
This.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)