Get the coordinates of the waypoint? - 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: Get the coordinates of the waypoint? (
/showthread.php?tid=258435)
Get the coordinates of the waypoint? -
xXDaniiXx - 30.05.2011
how do I do that?
Thanks in advance.
Re: Get the coordinates of the waypoint? -
Ouch_Charlie - 30.05.2011
Get a Cleo Tele to marker mod make a mark on the map then press xy to go to that place then /save [make a hint here ~optional~] then go to your
pawn Код:
Documents\GTA San Andreas User Files\SAMP\SavedPositions.txt
and your see something like
(A hint from my Server)
pawn Код:
AddPlayerClass(0,7220.0425,-324.8442,21.6025,85.5923,0,0,0,0,0,0); // Your hint
7220.0425,-324.8442,21.6025<-- This is the main coord. (x.x,y.y.z.z)
How to get the Tele to Marker mod?: Download this
http://www.gtagaming.com/downloads/g...cleo-mods/1762
Re: Get the coordinates of the waypoint? -
xXDaniiXx - 30.05.2011
thanks but I need a way of retrieving the coordinates of the way point in a pawn script at runtime in order to move an object to that position. Is this possible?
Re: Get the coordinates of the waypoint? -
Ouch_Charlie - 30.05.2011
Quote:
Originally Posted by xXDaniiXx
thanks but I need a way of retrieving the coordinates of the way point in a pawn script at runtime in order to move an object to that position. Is this possible?
|
For this /gotopos in 0Admin (
https://sampforum.blast.hk/showthread.php?tid=255513) and Kwarde's object mover (
https://sampforum.blast.hk/showthread.php?tid=250011) can help you.
Correct me if I am wrong, cuz I think so :P
Re: Get the coordinates of the waypoint? -
xXDaniiXx - 30.05.2011
Thanks but im not sure how this is supposed to help me...
Isn't there a way to retrieve the coordinates of the way point in the pawn code of a game mode?
Re: Get the coordinates of the waypoint? -
xXDaniiXx - 30.05.2011
Is there no way to archive this?