function onUse(cid, item, frompos, item2, topos)
voc = getPlayerVocation(cid)
if item.uid == 1212 then
queststatus = getPlayerStorageValue(cid,4044)
if queststatus == -1 and voc == 2 then
doPlayerSendTextMessage(cid,22,"You have found a snakebite rod")
doPlayerAddItem(uid,2182,1)
setPlayerStorageValue(cid,4044,4045)
elseif queststatus == -1 and voc == 1 then
doPlayerSendTextMessage(cid,22,"You have found a wand of vortex")
doPlayerAddItem(uid,2190,1)
setPlayerStorageValue(cid,4044,4045)
elseif queststatus == -1 and voc == 4 then
doPlayerSendTextMessage(cid,22,"You have found a Spike Sword")
doPlayerAddItem(uid,2383,1)
setPlayerStorageValue(cid,4044,4045)
elseif queststatus == -1 then and voc == 3 then
doPlayerSendTextMessage(cid,22,"You have found a bow and 100 arrows")
doPlayerAddItem(uid,2456,1)
doPlayerAddItem(uid,2544,100)
setPlayerStorageValue(cid,4044,4045)
else
doPlayerSendTextMessage(cid,22,"You cannot do the same quest again.")
end
else
return 0
end
return 1
end