ID:141097
 
Code:
turf
AxelHairturf
name= "KHO"
icon = 'AxelHair.dmi'
layer=9999999
Click()
switch(input("Axel Hair?", text) in list ("Yes","No"))
if("Yes")
usr.overlays-=usr.hair
usr.hair = "Axel"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'AxelHair.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair


Problem description:The overlay lasts 3 seconds and then is gone... How do I make the overlay stay?

Try making the number smaller...

layer=9999999


or use this...
layer=MOB_LAYER+#


Don't know if it will work but its worth a try.
In response to KatVonD
It was an Error I made.

I had a code that looked like this:
Mob
overlays = 0


that was the problem.

yay!