mob
Write(savefile/F) // Write proc
..()
F["last_x"] << x // saves your x location on the map
F["last_y"] << y // saves your y location on the map
F["last_z"] << z // saves your z location on the map
F["worn"] << src.worn
Read(savefile/F)
..()
var/last_x // var defined
var/last_y
var/last_z
F["last_x"] >> last_x // reads your x location on the map
F["last_y"] >> last_y // reads your y location on the map
F["last_z"] >> last_z // reads your z position on the map
F["worn"] >> src.worn
src.loc = locate(last_x, last_y, last_z) // locates you to your last map location
//The 'worn' var :
mob/var/worn = 0
Problem description: Coding\Slot Save Login System.dm:250:error:src.worn:undefined var & Coding\Slot Save Login System.dm:259:error:src.worn:undefined var
It highlights both of the worn vars in the save files. How do i make it so that it save the vars?