mob
proc
AutoSave()
if(src.cansave)
if(fexists("players/[src.key]/Slot_1.sav"))
var/savefile/s1 = new("players/[src.key]/Slot_1.sav")
src.saveS1 = 1
src.V = src.verbs
src.xco = src.x
src.yco = src.y
src.zco = src.z
Write(s1)
if(src.cansave)
if(fexists("players/[src.key]/Slot_2.sav"))
var/savefile/s2 = new("players/[src.key]/Slot_2.sav")
src.saveS2 = 1
src.V = src.verbs
src.xco = src.x
src.yco = src.y
src.zco = src.z
Write(s2)
if(src.cansave)
if(fexists("players/[src.key]/Slot_3.sav"))
var/savefile/s3 = new("players/[src.key]/Slot_3.sav")
src.saveS3 = 1
src.V = src.verbs
src.xco = src.x
src.yco = src.y
src.zco = src.z
Write(s3)
Problem description:
My Autosave proc isn't working correctly, I've tried many different ways to make it work but it won't.