No Topic (Solved) in Developer Help
mob/proc/LoadPI() src.client.screen+=new/obj/playericon if(fexists("")) // obvious what you have to do.. var/savefile/F = new("") //same here F["icon"] >> icon F["overlays"] >> overlays for(var/obj/playericon/T in src.client.screen) T.icon_state = src.icon_state T.overlays = src.overlays T.icon = src.icon T.screen_loc= // and finally, same here. src.icon = null src.overlays = nullobj/playericon layer = FLY_LAYER
mob/proc/LoadPI1() src.client.screen+=new/obj/playericon if(fexists("Saves/[usr.ckey]")) // obvious what you have to do.. var/savefile/F = new("Saves/[usr.ckey]") //same here F["icon"] >> icon F["overlays"] >> overlays for(var/obj/playericon/T in src.client.screen) T.icon_state = src.icon_state T.overlays = src.overlays T.icon = src.icon T.screen_loc="13,162" src.icon = null src.overlays = nullobj/playericon layer = FLY_LAYER