ID:268003
 
Im Looking For A save Proc so I Can save Players in my rpg game
Yojike_Hayaku wrote:
Im Looking For A save Proc so I Can save Players in my rpg game

mob/proc
save()
var/savefile/F = new("[ckey].sav")
Write(F)
load()
var/savefile/F = new("[ckey].sav")
Read(F)

mob/Login()
..()
load()


This example is about as basic as it gets. Call save() where appropriate.