mob
proc
LoadPlayer()
if(fexists("[src.key].sav"))
var/savefile/F = client.Import("[src.key].sav")
Read(F)
for(var/stuff in src.V)
src.verbs += stuff
world<<"Info <b><font color=silver>:[usr] <font color=green>(Key: [src.key]) has logged in..."
src.loc = locate(xco,yco,zco)
client.view=6
src.OOC = 1
src.cansave=1
src.Frozen = 0
src.AutoSave()
src.logincrap()</b>
mob
verb
Savenow()
set name ="Save"
if(usr.cansave)
var/savefile/F = new("[usr.key].sav")
usr.V = usr.verbs
usr.xco = usr.x
usr.yco = usr.y
usr.zco = usr.z
Write(F)
client.Export(F)
spawn(10) usr << "<b><font color=Green>Server Info: <font color=blue><b>Your game has been saved!"
mob
Login()
//Closed_Testing()
var/savefile/F = client.Import("[src.key].save")
if(F) Read(F)
world<<"<font color=white><b>>Announcement<</b><font color=red> [usr.key] Has Logged Onto The Server."
src.loc = locate(7,6,50)
src<<'rocks.mid'
src.client.command_prompt="Stat Bar---Level: ([usr.level]) Health: ([usr.health]) / ([usr.maxhealth]) Chakra: ([usr.chakra]) / ([usr.Mchakra])..."
src<<"<font color=#FFADCC><font size=1>byond://[world.address]:[world.port] (World Address)"
src<<"<a href=http://www.narutodevastation.forumotion.com><font color=blue>Join the forum</a>"
Problem description:Save in key directory>
First code is load code 2nd is save and 3rd is loging
Ok the first thing is it seems like the save code works but when I restart the game it doesnt want to load it so anyone could post me the fixed code plz cause idk how to fix it I am still at learning thx for any help :)