race checkpoints - 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: race checkpoints (
/showthread.php?tid=84480)
race checkpoints -
sggassasin - 01.07.2009
hi im looking for a script that will alow me to to creat a race where someone starts on the line (only need 1 person to go on the line) then it trigiers a count down witch i have here.....
Код:
new count = 5;
new counttimer;
public CountDown()
{
if(count <= 0)
{
GameTextForAll("~g~ Go ~n~ Go ~n~ Go!", 5000, 5);
KillTimer(counttimer);
count = 5;
return 1;
}
else
{
new str[128];
format(str, sizeof str, "~b~ %d", count);
GameTextForAll(str, 500, 5);
counttimer = SetTimer("CountDown", 1000, 0);
count--;
}
return 1;
}
if(strcmp(cmdtext, "/countdown", true) == 0)
{
CountDown();
}
and when that count down end it starts the race and there is gonna be aleast 10 checkpoints so could some help plz
thx for ur time
Re: race checkpoints -
refshal - 01.07.2009
Search.
Re: race checkpoints -
sggassasin - 01.07.2009
Zomg i have
Re: race checkpoints -
saiberfun - 01.07.2009
http://forum.sa-mp.com/index.php?topic=20637.0
well 2secs of searching and found a good racingscript which u can modify easily
all explained in that topic
i see u did seach -_-
next time just search with the searchfunction
thats on the right side of the screen
beside the news tab.
and search the whole forum