SA-MP Forums Archive
How to know what's your X Y Z? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to know what's your X Y Z? (/showthread.php?tid=461073)



How to know what's your X Y Z? - roncohen - 31.08.2013

Hello.
I'm back with more question about how to know what's your X Y Z
I want to create pickup place like /deliverpt , /arrest point , .....
now I want to know how I can find X Y Z?
Please I need help!

Contact me:
Skype:
Ron7897


Re: How to know what's your X Y Z? - Konstantinos - 31.08.2013

Go in-game, find the place you want to know what are its coordinates (X, Y, Z).
Stand there, and type /save command. It's a client command and it saves to My Documents\GTA SA User Files\SAMP\savedpositions.txt file (last line).

Copy the 2nd, 3rd and 4th parameter, that's the X, Y, Z.

You can also use a name if you don't want to be confused. An example would be:

/save pickup1

If you open savedpositions.txt, last line it will say AddPlayerClass( ... ); or AddStaticVehicle( ... );
the first one is on foot and the second one is for vehicles. And after those above it will say
pawn Код:
AddPlayerClass( ... ); // pickup1
// OR
AddStaticVehicle( ... ); // pickup1



Re: How to know what's your X Y Z? - roncohen - 31.08.2013

I will see if your idea is good


Re: How to know what's your X Y Z? - roncohen - 31.08.2013

Wow, Thank you so much for helping


Re: How to know what's your X Y Z? - roncohen - 31.08.2013

Your Idea is help to set Pickup place?


Re: How to know what's your X Y Z? - Konstantinos - 31.08.2013

Please, do not post again and again. There's an Edit Button to edit your post.

It does. For example:

Go in-game, stand at the place you want the pickup to be. Do /save pickup1
Goto My Documents\GTA San Andreas User Files\SAMP\savedpositions.txt
Open it, get the last line. Copy the 2nd, 3rd and 4th parameter from it.

Run pawno.exe, open the file you want to make the pickup or create a new one.
And CreatePickup