A little Help with a race checkpoint please. - 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: A little Help with a race checkpoint please. (
/showthread.php?tid=119346)
A little Help with a race checkpoint please. -
Stig - 07.01.2010
I hope someone can help me, i would like to create a race checkpoint that only appears when a player is near it, like a normal player checkpoint. I can create the race checky itself, but its there all the time, no matter where you are. Thanks for your time.
Re: A little Help with a race checkpoint please. -
Blantas - 07.01.2010
Код:
if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z))
{
SetPlayerRaceCheckpoint(playerid, type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size);
}