Hello, After alot of tests i cannot let working that.
preparedeath.lua
function onPrepareDeath(cid, deathList)
if isPlayer(cid) then
if getPlayerSlotItem(cid, 2).itemid == 11387 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, getPlayerExperience(cid))...