• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Searching for script No drop items

Lua:
function onPreprareDeath(cid, deathList)
        if getPlayerLevel(cid) < 90 then
        doCreatureSetDropLoot(cid, false)
        end
         return true
end
 
Last edited:
At creaturescripts.xml paste this line:
Lua:
<event type="preparedeath" name="NoLoot" event="script" value="ndi90.lua"/>

at creaturescripts/scripts/login.lua paste this under function onlogin.lua:
Lua:
registerCreatureEvent(cid, "NoLoot")
 
Back
Top