Hey OTland members I got a easy problem for many, but a very difficult one for myself. When I enter the Banshee Quest room and click on the chest, I don't get any reward, and no text appears you can just click nothing is happening, I found a script and I post it here maybe someone can help me with it?
[Rep will be giving as always!]
100x platinum coins!
Boots of haste!
Giant Sword!
Stealth Ring!
Stone Skin Amulet!
Tower Shield!
[Rep will be giving as always!]
100x platinum coins!
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 60068 then
if getPlayerStorageValue(cid,60068) == -1 then
doPlayerSendTextMessage(cid,25,"You have found 100 Platinum Coins.")
doPlayerAddItem(cid,2152,100)
setPlayerStorageValue(cid,60068,1)
else
doPlayerSendTextMessage(cid,25,"This chest is empty. You've already done this quest!")
end
end
return TRUE
end
Boots of haste!
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 60063 then
if getPlayerStorageValue(cid,60063) == -1 then
doPlayerSendTextMessage(cid,25,"You have found a pair of boots of haste.")
doPlayerAddItem(cid,2195,1)
setPlayerStorageValue(cid,60063,1)
else
doPlayerSendTextMessage(cid,25,"This chest is empty. You've already done this quest!")
end
end
return TRUE
end
Giant Sword!
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 60064 then
if getPlayerStorageValue(cid,60064) == -1 then
doPlayerSendTextMessage(cid,25,"You have found a giant sword.")
doPlayerAddItem(cid,2393,1)
setPlayerStorageValue(cid,60064,1)
else
doPlayerSendTextMessage(cid,25,"This chest is empty. You've already done this quest!")
end
end
return TRUE
end
Stealth Ring!
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 60066 then
if getPlayerStorageValue(cid,60066) == -1 then
doPlayerSendTextMessage(cid,25,"You have found a stealth ring.")
doPlayerAddItem(cid,2165,1)
setPlayerStorageValue(cid,60066,1)
else
doPlayerSendTextMessage(cid,25,"This chest is empty. You've already done this quest!")
end
end
return TRUE
end
Stone Skin Amulet!
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 60067 then
if getPlayerStorageValue(cid,60067) == -1 then
doPlayerSendTextMessage(cid,25,"You have found a stone skin amulet.")
doPlayerAddItem(cid,2197,1)
setPlayerStorageValue(cid,60067,1)
else
doPlayerSendTextMessage(cid,25,"This chest is empty. You've already done this quest!")
end
end
return TRUE
end
Tower Shield!
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 60065 then
if getPlayerStorageValue(cid,60065) == -1 then
doPlayerSendTextMessage(cid,25,"You have found a tower shield.")
doPlayerAddItem(cid,2528,1)
setPlayerStorageValue(cid,60065,1)
else
doPlayerSendTextMessage(cid,25,"This chest is empty. You've already done this quest!")
end
end
return TRUE
end