Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onDeath(cid, corpse, deathList)
- if(isPlayer(cid) == true) then
- for _, pos in pairs(getArea(getCreaturePosition(cid), 1, 1)) do
- doSendMagicEffect(pos, 28)
- end
- doCreatureSay(cid, getCreatureName(cid) .. " killed by " .. getCreatureName(deathList[1]) .. " [R.I.P]", TALKTYPE_ORANGE_1)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement