mob
proc
load()
if(fexists("[lowertext(copytext(src.key,1,2))]/[src.key]/[src.ckey].rmn"))
var/savefile/Q = new("[lowertext(copytext(src.key,1,2))]/[src.key]/[src.ckey].rmn")
var/mob/m=new()
var/client/c=src.client
Q["mob"]>>m
Q["x"]>>m.x//Lawl, error'd
Q["y"]>>m.y
Q["z"]>>m.z
for(var/obj/o in world)
if(locate(o.type) in m.contents)
del(o)
m.updatehud()
c.mob=m
del(src)
return
src.loc=locate(1,1,1)
save()
if(src.x&&src.y&&src.y)
var/savefile/Q = new("[lowertext(copytext(src.key,1,2))]/[src.key]/[src.ckey].rmn")
Q["mob"]<<src
Q["x"]<<src.x
Q["y"]<<src.y
Q["z"]<<src.z
I get an error saying "Cannot read null.x". =/
BUT, it still loads the X, Y, Z and everything else, so I don't see what's going on. =/
Lummox JR