somy96
Bloxer Ot
please can anyone give me the skull amulet script 

function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if(getPlayerSlotItem(cid, 2).itemid == 2196) and getPlayerSkullType(cid) >= 0 then
doCreatureSetDropLoot(cid, false)
end
return true
end
registerCreatureEvent(cid, "onPrepareDeath")
<event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/>
in creaturescripts/scripts/preparedeath.lua
LUA:function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) if(getPlayerSlotItem(cid, 2).itemid == 2196) and getPlayerSkullType(cid) >= 0 then doCreatureSetDropLoot(cid, false) end return true end
and in creaturescripts/scripts/login.lua add
LUA:registerCreatureEvent(cid, "onPrepareDeath")
and add in creaturescripts.xml
LUA:<event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/>
i just created but didnt test it so tell me if something goes wrong![]()