mob
Write(savefile/F)
..()
F["last_x"] << x
F["last_y"] << y
F["last_z"] << z
Read(savefile/F)
..()
var/last_x
var/last_y
var/last_z
F["last_x"] >> last_x
F["last_y"] >> last_y
F["last_z"] >> last_z
src.loc = locate(last_x, last_y, last_z)
src.verbs+=src.Verb
mob
verb
Save()
if(src.savefile1)
src<<"Character Saved!"
var/savefile/F=new("players/[usr.ckey]/[usr.ckey](1).sav")
src.savefile1=1
Write(F)
Problem description:
Cannot open 'C:\DOCUME~1\Owner.CJ\MYDOCU~1\players\megajoe\megajoe(1).sav': file is in use.
proc name: Save (/mob/verb/Save)
source file: Commands.dm,27
usr: Mega joe (/mob/PC)
src: Mega joe (/mob/PC)
call stack:
Mega joe (/mob/PC): Save()