Saving and Loading 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: Saving and Loading position (
/showthread.php?tid=345931)
Saving and Loading position -
Kep - 26.05.2012
OK so i was thinking if it is possible to save postion at certain places in-game
not going to places typing /savepos getting co-ordinates and making command out of it
i'm not at all talking about it.
what im saying is just in-game goto a place and /saveloc <slot/name>
for examlpe /gotoslot 47
so it teleports your to position saved in slot 47 ingame
i hope you get it if not then i meant
saving postion in-game and teleporting aswell..[NOT /SAVEPOS]
for EX: /saveslot <Slotnumber>
and player type /gotoslot <47> to goto that paticular slot postion.
please help me with it
Re: Saving and Loading position -
MP2 - 26.05.2012
Use GetPlayerPos and y_ini.
Re: Saving and Loading position -
Kep - 26.05.2012
MP2, Thanks for that info mate, but can you simply show a small demo here if you comfortable with it or pm me simply, as im new at pawn language
GetplayerPos alright im okay with it but i could figure out y_ini so it would be greatful if you show me a small demo.