ID:145184
 
Code:
        Load()
if(fexists("Save/[src.ckey]"))
var/savefile/F = new("Save/[src.ckey]")
Read(F)
F["last_x"] >> src.x
F["last_y"] >> src.y
F["last_z"] >> src.z


Problem description:

I want the usr to move to the saved location. Do i put it in the proc itself?
         Load()
if(fexists("Save/[src.ckey]"))
var/savefile/F = new("Save/[src.ckey]")
Read(F)
var/lx
var/ly
var/lz
F["last_x"] >> lx
F["last_y"] >> ly
F["last_z"] >> lz
src.Move(locate(lx,ly,lz))

In response to Mysame
doesnt work


heres how i called the proc
        LOADCHAR()
usr.Load()
world<<"<html><font size = 1><font color = brown><B>Event:<font color = black>[usr.name] has logged in</font></html>"
return ..()