08-02-2018, 02:19 AM
You can use the cMonster:SetCustomName method. You can use it like this:
world:DoWithEntityByID(entityId, function(entity) entity:SetCustomName("Name") end)