SA-MP Forums Archive
About 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)
+--- Thread: About race checkpoints (/showthread.php?tid=592035)



About race checkpoints - uZ1 - 19.10.2015

Hi,

I want to make a bridge flight system and tried to do this with pickups with the type 14. But I realized that pickup type 14 is buggy. (Pickups spawn on the incorrect Z axis)
Now I want to do this with race checkpoints. (Type 3 or 4)
But here is the next problem: There is no way to set the angel of these checkpoints. Is there any solution for this?

EDIT: Sorry for the wrong section, can any moderator please move this topic to: http://forum.sa-mp.com/forumdisplay.php?f=84


Re: About race checkpoints - Onfroi - 19.10.2015

The angle will set itself once you add the next checkpoint.
Код:
SetPlayerRaceCheckpoint(playerid, type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size)



Re: About race checkpoints - uZ1 - 19.10.2015

Is there no other possibility to realize this idea? (Without pickups and checkpoints)
I can't set the next checkpoint because this system should be like performing unique stunts or finding horseshoes. (A little hidden)
I also would like to avoid using IsPlayerInRangeOfPoint in combination with timers because of perfomance reasons.

EDIT: I'll try it with CreateDynamicSphere. If someone has a better Idea, please post.