Well I tried making this on my own but failed hard..
This is my script.
items/aol.lua
actions.xml
Well I guess it should be something like this, but it doesn't work.
Anyone have any better script? A solution for mine maybe?
Rep+ given for help.
Yours, Demnish.
This is my script.
items/aol.lua
function onEquip(cid, item, slot)
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
return true
end
actions.xml
<action itemid="7889" event="script" value="items/aol.lua"/>
Well I guess it should be something like this, but it doesn't work.
Anyone have any better script? A solution for mine maybe?
Rep+ given for help.
Yours, Demnish.