function onUse(cid, item, fromPosition, itemEx, toPosition)
local storageId = 50460 -- define o ID da storage
if getPlayerStorageValue(cid, storageId) == -1 then
doPlayerAddItem(cid, 500, 1)
doPlayerAddItem(cid, 501, 1)
doPlayerAddItem(cid, 502, 1)...