Return after /q - 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: Return after /q (
/showthread.php?tid=126255)
Return after /q -
BlackEagle - 07.02.2010
Well, i've searched it, but all i found was bullshit. Could someone help me coding this?
What i want is basicly when a player leaves the server (not crash), returns to the same location he/she has been.
Or something like /spawnloc, which sets your spawn point for next login.
Thanks.
Re: Return after /q -
ettans - 07.02.2010
Save their location when they leave, upon spawn, load the location and spawn them there. Search the wiki for basic read/write of files.
Re: Return after /q -
Correlli - 07.02.2010
You could use dINI/dUDB for position saving, there's an example in the dUDB topic, search for it.
Re: Return after /q -
Fj0rtizFredde - 07.02.2010
There is a tutorial somewhere on this forum...
EDIT: Found it:
http://forum.sa-mp.com/index.php?topic=115440.0
Re: Return after /q -
BlackEagle - 07.02.2010
Thanks for the tips, i'll try to code it myself.