SA-MP Forums Archive
Count - 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: Count (/showthread.php?tid=104579)



Count - Benne - 25.10.2009

Hello, I've been looking on a few count downs but it all was like from 5, 4, 3, 2, 1... But it would have been alot lines if I had to make it from, for example 30.
Here's one of them I've been looking at.
[FS]Simple Countdown
It's a simple count down system, but as you look at the script there, he made a public for each number.
example
pawn Code:
public five;
{
   //Whatever here.
}
public four;
{
   //Whatever here.
}
etc.

I would like to count from example 30 where it says on my screen, with GameTextForPlayer where it says, 30, 29, 28, 27, 26, etc.
Could anyone help me with that?