function onUse(cid, item, frompos, item2, topos)
if item.uid == 2467 then -- UID tej skrzynki
local queststatus = getPlayerStorageValue(cid,24)
if queststatus == -1 then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found...")
doPlayerAddItem(cid,ID itemu, ile razy ma go si? dosta?) -- Tu wpisuje np ID plate armora i np 1
setPlayerStorageValue(cid,24,1)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"Sorry, not possible.")
end
end