function onUse(cid, item, frompos, itemEx, topos)
local config = {
[1000] = {ilosc = 10000, storage = 1000},
[1001] = {ilosc = 15000, storage = 1001},
[1002] = {ilosc = 20000, storage = 1002},
[1003] = {ilosc = 25000, storage = 1003}
}
local expe = config[item.uid]
if getPlayerStorageValue(cid, expe.storage) == -1 then
doPlayerAddExp(cid, expe.ilosc)
doSendAnimatedText(getPlayerPosition(cid), expe.ilosc, TEXTCOLOR_WHITE)
setPlayerStorageValue(cid, expe.storage, 1)
end
return true
end