SA-MP Forums Archive
How do i make a race in my server? - 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: How do i make a race in my server? (/showthread.php?tid=85968)



How do i make a race in my server? - zerolight - 11.07.2009

How can i make a race in my server?, like a regular race for money, checkpoint to checkpoint, i am going to make it so at a certain time, a race starts and players gather up, they race, and the winner wins money. TY!


Re: How do i make a race in my server? - Finn - 11.07.2009

Functions you will need:
SetPlayerRaceCheckpoint
DisablePlayerRaceCheckpoint
GivePlayerMoney

Callbacks you will need:
OnPlayerEnterRaceCheckpoint
OnPlayerLeaveRaceCheckpoint