PDA

View Full Version : lua e.self:GetName()


moofta
04-05-2014, 05:46 PM
If I use the e.self:GetName() on an npc, it shows the "unclean name" - e.g. for an NPC called Moofta it prints "Moofta000"

Is there a way to get just the NPC name without the spawn number at the end?

demonstar55
04-05-2014, 06:02 PM
Then use e.self:GetCleanName()