function onUse(cid, item, frompos, item2, topos)
local newposition = {x=, y=, z=}
if item.uid == 11111 then
queststatus = getPlayerStorageValue(cid,1111)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Congratulations, You have found 100 Cystal Coins and being teleported somewhere!")
doPlayerAddItem(cid,2160,100)
doTeleportThing(cid, newposition)
doSendMagicEffect(newposition, 10)
setPlayerStorageValue(cid,11111,1)
else
doPlayerSendTextMessage(cid,22,"It's empty!")
end
else
return 0
end
return 1
end