PlayerToPoint help - 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: PlayerToPoint help (
/showthread.php?tid=141116)
PlayerToPoint help -
NiiRV4N4 - 11.04.2010
pawn Код:
if (PlayerToPoint(5.0,playerid,PoliceDutyPosition[X],PoliceDutyPosition[Y],PoliceDutyPosition[Z]) || PlayerToPoint(5.0,playerid,959.30,1940.24,9.00))
I want someone to be able to go on police duty in two different locations. One is a dynamic location, and the other, I added, is the normal XYZ. It doesn't work. Please fix.
Crap, wrong section. My bad.