---Simple quest fot TFS by Kail
function onUse(cid, item, frompos, item2, topos)
prize = item.uid
if prize > 1000 and prize < 50000 then
queststatus = getPlayerStorageValue(cid,prize)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a prize.")
doPlayerAddItem(cid,prize,1)
setPlayerStorageValue(cid,prize,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
return 1
else
return 0
end
end