Estou usando um script de Aol infinito que está funcionando muito bem, porém ele também está segurando os itens dos red skulls, alguém pode ajudar nesse problem guys?
Grato
Script \/
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if isPlayer(cid) and getPlayerSkullType(cid) ~= RED_SKULL then
if (getPlayerSlotItem(cid, 2).itemid == 7890) then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return TRUE
end
end
return TRUE
end