proc
pl_savecharacter(mob/M as mob)
var/savefile/F = new("characters/"+lowertext(M.name)+".sav") //create a savefile in the directory of "characters', witht he name of the characters name.
F["old_x"] << M.old_x // Save their last coordinates.
F["old_y"] << M.old_y
F["old_z"] << M.old_z
F["password"] << M.password // Save the password.
M.Write(F) // Write all values of each variable stored within M.
del(M) // Deletes the physical mob.
//pl_loadcharacter(S as text,mob/M as mob)
that a file i use to save my characters for yet another project my teams working on is there any way to make it so that the folder created for this game becomes a hidden folder or a folder that needs a password to access.
and i mean so it automaticly becomes hidden or password protected and not done manualy