Author Topic: SetShapeName  (Read 545 times)

So today I was messing with my City RP again.  I was working with the OnDeath function, and seemed to have screwed it up.  It made tons of glitches, but one of them was interesting.  When a player dies, "[Civilian] Playername" now appears over their head like in the old city rps.  I thought badspot removed the setshapename thing?  How is this possible?

If he didn't fully remove it, I'd like to use it.

gimme the glitched up script and I'll figure it out.

If you die in a normal server, the corpse has no shape name. setShapeName probably works on dead players but not live ones.

What class is a corpse then? You can't call setshapename on any kind of player class.

A dead player changes from $TypeMasks::PlayerObjectType to $TypeMasks::CorpseObjectType.