SA-MP Forums Archive
Aid not be how to get position - 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: Aid not be how to get position (/showthread.php?tid=374110)



Aid not be how to get position - Neik - 01.09.2012

Hello, is how to take a position, example:
2388.4568,-2008.2374,13.5537+0.6,5.0)


Re: Aid not be how to get position - Dan. - 01.09.2012

You go ingame, stand where you want to save the postition and do /save. You can do /save [comment] also.

The saved position will be in My Documents\GTA San Andreas User Files\SAMP\savedpositions

When it's like this:
pawn Код:
AddPlayerClass(287,186.5154,1927.2018,17.7387,271.9624,0,0,0,0,0,0);
Then you only want to take X,Y and Z coordinates, then take only these:
Код:
AddPlayerClass(287,186.5154,1927.2018,17.7387,271.9624,0,0,0,0,0,0);
The "271.9624" is the rotation angle.


Re: Aid not be how to get position - Neik - 01.09.2012

My gta this rip, there is another way


Re: Aid not be how to get position - Mauzen - 01.09.2012

Dont expect any help then. Also, you clearly didnt even test it.