local config = {
storage = 5100
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(getPlayerStorageValue(cid, config.storage) < 1) then
doPlayerAddItem(cid, 2485, 1)
doPlayerSendTextMessage(cid,25,"You have found a doublet.")
setPlayerStorageValue(cid, 5100, 1)
else...