hi, im using this script made by critico:
but after death, there arent any corpse.
Can someone repair it?
Thank you
PHP:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if isPlayer(cid) == true then
for a = 1,5 do
if getPlayerBlessing(cid, a) then
doCreatureSetDropLoot(cid, false)
return true
end
end
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
end
return TRUE
end
but after death, there arent any corpse.
Can someone repair it?
Thank you