Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. function onDeath(cid, corpse, deathList)
  2. if(isPlayer(cid) == true) then
  3. for _, pos in pairs(getArea(getCreaturePosition(cid), 1, 1)) do
  4. doSendMagicEffect(pos, 28)
  5. end
  6. doCreatureSay(cid, getCreatureName(cid) .. " killed by " .. getCreatureName(deathList[1]) .. " [R.I.P]", TALKTYPE_ORANGE_1)
  7. AB_SYSTEM_set(cid, AB_SYSTEM_CAN_USE_TALKACTION, 0)
  8. AB_SYSTEM_set(cid, AB_SYSTEM_USER_RANDOM_NUMBER, 0)
  9. AB_SYSTEM_set(cid, AB_SYSTEM_TIMES_RESPOND_WRONG, 0)
  10. end
  11. return true
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement