Oque tem de errado?
function onUse(cid, item, frompos, item2, topos) local storage = 1111 local ganha,quantia = 2160,1 ------------------- if getPlayerStorageValue(cid,storage) == -1 then setPlayerStorageValue(cid,storage,1) doPlayerAddItem(cid,ganha,quantia) doPlayerSendTextMessage(cid,22,"Você completou a quest.") end end