function onUse(cid, item, frompos, item2, topos)
if item.uid == 2002 then
queststatus = getPlayerStorageValue(cid,15050)
doPlayerSendTextMessage(cid,22,"You have found a Key.")
doPlayerAddItem(cid,xxxx,1)
setPlayerStorageValue(cid,15050,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
return 1
else
return 0
end
end