ID:272429
 
Problem Solved
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 = null

obj/playericon
layer = FLY_LAYER
In response to Andre-g1 (#1)
OK i got this
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 = null

obj/playericon
layer = FLY_LAYER


And can you tell me where i put this proc , do i put this in login ?
In response to BLACK ST4R (#2)
Ok, first I only did that proc once, for 1 slot, you'll have to do it for all the others.

Secondly, that proc will go in mob/Login()

And last but not least, I'm sure you don't have a client screen that has more than 162 height tiles. So fix the screen loc.
In response to Andre-g1 (#3)
KK Thanks i got it
In response to BLACK ST4R (#4)
Damn, 1 more thing do you know how to make a text on top ?
In response to BLACK ST4R (#5)
Check for Lummox JR's DMI fonts library, then just change the pixel_y to whatever you wish.