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)
- AB_SYSTEM_set(cid, AB_SYSTEM_CAN_USE_TALKACTION, 0)
- AB_SYSTEM_set(cid, AB_SYSTEM_USER_RANDOM_NUMBER, 0)
- AB_SYSTEM_set(cid, AB_SYSTEM_TIMES_RESPOND_WRONG, 0)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement