Code:
i have a weird problem:
var/list/DM = list("Key1","Key2")
obj
dojostar
icon = 'aa.dmi'
pixel_y = 32
mob/Login()
for(var/mob/M in DM)
src.overlays += new /obj/dojostar
The problem is that the object doesnt appear above the users head. But when i do this with -32 for GM's, then the GM icon appears.
GM code:
obj
GMstar
icon = 'GMstar.dmi'
pixel_y = -32
mob/Login()
if(src.GMlevel <=1)
src.overlays += /obj/GMstar
But as I said, that coding will create the icon above the head.
The problem lies in other coding not shown here, or in the icon.
The code you ripped from was really really buggy in all kinds of obscure places. So I can't help you there...