function onUse(cid, item, frompos, item2, topos)
if item.uid == [COLOR="Lime"]90001[/COLOR] then
if getPlayerVocation(cid) == [COLOR="Cyan"]X[/COLOR] and getPlayerStorageValue(cid,[COLOR="Lime"]90001[/COLOR]) == -1 then
doPlayerSendTextMessage(cid,25,"You have found a [COLOR="Red"]XXXX[/COLOR].")
doPlayerAddItem(cid,[COLOR="Red"]XXXX[/COLOR],1)
setPlayerStorageValue(cid,[COLOR="Lime"]90001[/COLOR],1)
else
doPlayerSendTextMessage(cid,25,"You have either done the quest or you are not the right vocation.")
end
end
return TRUE
end