Ok the aol in my server prevents loss of items, but it doesnt get removed on death. I tried putting...
if getPlayerItemCount(cid, 2173) >= 1 then
doPlayerRemoveItem(cid, 2173, 1)
end
in playerdeath.lua, and it works... unless you lose the aol when you die, which the aol goes into the...