ID:876486
 

I've been interacting with variables holding icons (for overlay purposes). On the customization screen when the person Clicks the hair icon:
            Click()
usr.overlays -= usr.hair
usr.hair = 'ICONS/hairstyle2.dmi'
var/icon/i = icon(usr.hair)
i.Scale(200,200)
usr.hair = i
i = usr.hair
usr.overlays += usr.hair
usr.hair = i

It does the job. But here's the thing, when usr comes to change his hair color:

                usr.overlays -= usr.hair
usr.hair += rgb(r,g,b)
usr.Ohair = hair
usr.hair = usr.Ohair
usr.overlays += usr.hair

Problem description:
All that happens is it just removes the hair overlay -_-, i want it to to add the hair color and usr.overlays += hair

Any ideas? Plx? ;P


Dammit, i didnt realize that -_-
Thank you very much!