Creaturescripts.xml:
Add to login.lua:
noaol.lua:
It doesn't matter if you have redskull.
Based on this idea:
http://otland.net/f16/aol-help-83041/
eace:
PHP:
<event type="death" name="NoAol" event="script" value="noaol.lua"/>
Add to login.lua:
Lua:
registerCreatureEvent(cid, "NoAol")
noaol.lua:
Lua:
function onPrepareDeath(cid, deathList)
if (isPlayer(cid)) == TRUE then
doCreatureSetDropLoot(cid, false)
end
return TRUE
end
It doesn't matter if you have redskull.
Based on this idea:
http://otland.net/f16/aol-help-83041/
eace: