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



race countdown - $uRн - 09.12.2012

Hello, I would like to ask for help in a small script. So I'd be a / asd1
commands and then a countdown starts and when someone connects
to the / asd1 into it who first started to count the player tells you not to
restart.


Re: race countdown - HireMe - 09.12.2012

Can you give a little more explanation about it. Is it like an reaction test or do you just want to start a countdown and if another one tries it tells him to wait for the countdown to finish?


Re: race countdown - $uRн - 09.12.2012

So if the player is connected to a timer is started when a competition
but then if you can connect to another player it does not start counting
again only heaven he who first started to count it.


Re: race countdown - HireMe - 09.12.2012

Quote:
Originally Posted by $uRн
Посмотреть сообщение
So if the player is connected to a timer is started when a competition
but then if you can connect to another player it does not start counting
again only heaven he who first started to count it.
Your English is not easy to read. But what i understand of it is that you want to start a timer for a race and if someone joins it does not start counting again but keeps on running.

Have you checked other Race scripts like https://sampforum.blast.hk/showthread.php?tid=143764 this one got a timer that is defined on the top of the FS.

If you are looking for a script that gets the time that it takes for a player to get to a checkpoint you can try to read the tutorial https://sampforum.blast.hk/showthread.php?tid=370955