function onUse(cid, item, frompos, item2, topos)
if item.uid == xxxxx then
if getPlayerStorageValue(cid,xxx) == -1 then
doPlayerSendTextMessage(cid,25,"Here is your blahh!")
doPlayerAddItem(cid,xxxx,1)
setPlayerStorageValue(cid,xxx,1)
else
doPlayerSendTextMessage(cid,25,"You have already gotten your reward.")
end
end
return TRUE
end