Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (
/showthread.php?tid=582735)
Help -
BlackEvils - 23.07.2015
KillTimer(playerid,Sec1);
How i can make to set to kill the timer "Sec1" of a player when he die ?
Re: Help -
Gazzy - 23.07.2015
Put that code under OnPlayerDeath();
Re: Help -
BlackEvils - 23.07.2015
Quote:
Originally Posted by Gazzy
Put that code under OnPlayerDeath();
|
i get error error 076: syntax error in the expression, or invalid function call
Re: Help -
Gazzy - 23.07.2015
What is your set timer code?
Re: Help -
Gazzy - 23.07.2015
Get your settimer code and under OnPlayerDeath type KillTimer(Your Settimer Code);
Re: Help -
BlackEvils - 23.07.2015
Quote:
Originally Posted by Gazzy
Get your settimer code and under OnPlayerDeath type KillTimer(Your Settimer Code);
|
KillTimer(Sec1);
Re: Help -
Gazzy - 23.07.2015
Quote:
Originally Posted by BlackEvils
KillTimer(Sec1);
|
Put your SetTimer or SetTimerEx code in KillTimer();
Re: Help -
rymax99 - 23.07.2015
Show the full code you're using for setting the timer.
Re: Help -
Gazzy - 23.07.2015
Quote:
Originally Posted by BlackEvils
KillTimer(Sec1);
|
Quote:
Originally Posted by rymax99
Show the full code you're using for setting the timer.
|
This.