race checkpoints
#1

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
Reply
#2

Search.
Reply
#3

Zomg i have
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)