he dont want the corpse to appear .....
local monster = "Enraged Zombie"
local summon = "Exploding Corpse"
function onKill(cid, target)
if isPlayer(target) then
return true
end
if isPlayer(cid) and getCreatureName(target) == monster then
local q = getThingPos(target)
doCreatureSay(target, "I'm not finished with you yet! ", TALKTYPE_ORANGE_1)
doSummonCreature(summon, q)
doSendMagicEffect(q,49)
end
return true
end
local monster = "Enraged Zombie"
local summon = "Exploding Corpse"
function onPrepareDeath(cid, deathList)
if isPlayer(cid) then
return true
end
if getCreatureName(cid) == monster then
local t = getThingPos(cid)
doCreatureSay(cid, "I'm not finished with you yet! ", TALKTYPE_ORANGE_1)
doSendMagicEffect(t,49)
addEvent(doCleanTile,0.1,t)
doSummonCreature(summon, t)
end
return true
end
<script>
<event name="vvvv"/>
</script>