Return after /q
#1

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.
Reply
#2

Save their location when they leave, upon spawn, load the location and spawn them there. Search the wiki for basic read/write of files.
Reply
#3

You could use dINI/dUDB for position saving, there's an example in the dUDB topic, search for it.
Reply
#4

There is a tutorial somewhere on this forum...
EDIT: Found it: http://forum.sa-mp.com/index.php?topic=115440.0
Reply
#5

Thanks for the tips, i'll try to code it myself.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)