[HELP] Timer - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Timer (
/showthread.php?tid=193800)
[HELP] Timer -
Baboon - 27.11.2010
Hello, I don't know where the Filterscript Request Thread is, but I've got a question for you.
Can anyone make for me a textdraw countdown from 10 minuts to 0 minuts? Then it should repeat.
It should be a SetTimer anyway, I don't want a SetTimerEx...
I can make the textdraws, thanks!
Re: [HELP] Timer -
RSX - 27.11.2010
SetTimer("Function", 60000, 1); // KillTimer should be used as well
public Function()
{
minutes--;
// Text draw code with minutes here, or
if(minutes==0){
// here if you don't display 0 minutes.
minutes=10;}
SetTimer("Function", 60000, 0); // Can be stopped here, by making if statement, on for example value to indicate statuss of countdown or the whole game
}
Re: [HELP] Timer -
Baboon - 27.11.2010
hmm I don't really get that...
Can you give me an example? please? Or a full filterscript. I can change the coordinats, thanks!
Re: [HELP] Timer -
zSuYaNw - 27.11.2010
https://sampforum.blast.hk/showthread.php?pid=918489#pid918489