ID:263860
 
Code:
T.T why this dont work??!!!
mob
proc
SaveZ()
var/savefile/save
save = new ("players/[usr.key].sav")
save["mob"] << usr
save["x"] << usr.x
save["y"] << usr.y
save["z"] << usr.z
usr << "<font color=red><b>Your game has been saved!"
Load()
if(fexists("players/[usr.key].sav"))
var/savefile/load = new ("players/[usr.key].sav")
load["mob"] >> usr
load["x"] >> usr.x
load["y"] >> usr.y
load["z"] >> usr.z
world<<"<font color=green>[usr] has logged in!"


Problem description:

this stuff when i use the load anything i log in with no base icon >.<
        SaveZ()
var/savefile/save
save = new ("players/[usr.key].sav")
save["mob"] << usr
save["x"] << usr.x
save["y"] << usr.y
save["z"] << usr.z
Write(save)
usr << "<font color=red><b>Your game has been saved!"
Load()
if(fexists("players/[usr.key].sav"))
var/savefile/load = new ("players/[usr.key].sav")
var
xx=1
yy=1
zz=1
load["mob"] >> usr
load["x"] >> xx
load["y"] >> yy
load["z"] >> zz
Read(load)
src.loc=locate(xx,yy,zz)
world<<"<font color=green>[usr] has logged in!"

try that.
In response to Tubutas
still dont work T.T
In response to Pirata Inmortal
Leme see your login and logout.
In response to Tubutas
nvm i fixed it but ty for trying to help me
In response to Pirata Inmortal
now i got something even worser now i dont have log out can u help me with that every time i try to re make i bug or the log out or the save system xD