local config = {
cost = 1000000
item = 8299
},
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 5794 then
if doPlayerRemoveMoney(cid, config.cost) == true then
doPlayerAddItem(cid, config.item, 1)
else
doPlayerSendCancel(cid, "You don't have enough money.")
end
end
return true
end