ID:179569
 
I need this for an equipment system. I've tried using usr.overlays += src but it gets located underneath the player. Could somebody help me with this?
Setting it's layer higher than the mob would work:

obj/Sword
icon='sword.dmi'
layer=MOB_LAYER+1

Now go look up layer so you get what that means.
In response to Nadrew
Yeah, it works now, but the weapon isn't removed from the overlay when I uneqiup it (usr.overlays -= src), it worked before but now it doesn't
In response to Vinterbiff
You would have to remove the certain overlay usr.overlays-=/obj/sword because the over isn't part of the verb anymore, meaning it's no longer the src.