I cant figure this out. - 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: I cant figure this out. (
/showthread.php?tid=242377)
I cant figure this out. -
Rokzlive - 20.03.2011
Im trying to use
pawn Код:
GetPlayerDistanceToPoint(playerid,x,y,z);
to scan 5 X, Y, Z points, and whichever the play is closest to, it sets a checkpoint to that X, Y, Z. How do i do that?
I dont know what is uses to return distance, nor anything like deciphering shortest distance between 5! Plz help.
Re: I cant figure this out. -
Rokzlive - 20.03.2011
Does no one know how?