E ainda nao esta funcionando ? Se nao estiver usa esse script aqui do Vodkart editado por mim para nao perde level .
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)if isPlayer(cid) == TRUE then
if (getPlayerSlotItem(cid, 2).itemid == 127) and getPlayerSkullType(cid) >= 5 then
doPlayerRemoveItem(cid, 127, 1)
doPlayerSetLossPercent(cid, experience, 0)
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return TRUE
end
end
return TRUE
end
Vermelho -- o ID do seu amulet .
E em login.lua , simplesmente adicione isso :
registerCreatureEvent(cid, "onPrepareDeath")end
Se continuar com o erro , fale .. Se tiver duvida , fale .. Se deu certo , REP+?







info
Grupo: Artesão
Registrado: 13/07/11
Posts: 104
Reputação: +4
Char no Tibia: Willliam Serravalle
vc testol o que eu te falei? pa nao tenho como testa aki