function onDeath(cid, corpse, deathList) if isPlayer(cid) then if getPlayerStorageValue(cid, 21894) == 1 then setPlayerStorageValue(cid,21894,0) end end return TRUE end