SA-MP Forums Archive
Air checkpoint wrong rotation? - 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: Air checkpoint wrong rotation? (/showthread.php?tid=573941)



Air checkpoint wrong rotation? - Metharon - 11.05.2015

I'm having problems with the checkpoints because is a map created in air... and i'm trying to use the AIR from race type...


but it looks like this :



How could i make the rotation better? to look like a .. _-_ <--- a portal , understand ? an entrance
Код:
			SetPlayerRaceCheckpoint(playerid, 3, 2696.6030, -1777.7227, 4360.1968, 0,0,0, 5.0);



Re: Air checkpoint wrong rotation? - MP2 - 11.05.2015

Look at the syntax of the function.

https://sampwiki.blast.hk/wiki/SetPlayerRaceCheckpoint

See nextx, nexty and nextz. You've set them all to 0.