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



Checkpoints for race - Vadonis - 30.07.2009

Hi. I need some help with race. I hawe road and i want to make a 2 cheskpoints start and finish.Like dragrace,but i dont know how to make them.
Plzz help


Re: Checkpoints for race - Joe Staff - 30.07.2009

Well you need a player specific variable (example: PlayerCP[MAX_PLAYERS]) then at anypoint make the race checkpoint, then, under OnPlayerEnterRaceCheckpoint, use a switch to determine which checkpoint the player is on. I've seen people with issues concerning their own race script, use search and find them. (I posted there too =p)


Re: Checkpoints for race - Vadonis - 30.07.2009

I little know about it ,but want ready script ,because i need to make server today and it will open after 2h,but i dont know how to make it. first checkpoint where 2 palyers drive in and after 10 seconds starts race and the they drag to the finish


Re: Checkpoints for race - Marc_307 - 30.07.2009

Maybe this FS can help you:
http://forum.sa-mp.com/index.php?topic=20637.0


Re: Checkpoints for race - Vadonis - 30.07.2009

I know it but i want filsecript like this http://forum.sa-mp.com/index.php?topic=113133.0 meybi someone hawe like it