LUA:
function onKill(cid, target, lastHit)
monsterPos = getCreaturePosition(target)
if isPlayer(cid) and (getCreatureName(target):lower() == "rat") then
doSendAnimatedText(monsterPos, "KILL!", TEXTCOLOR_ORANGE)
end
return TRUE
end
Not working, anyone got thoughts?