Hello guys,
I have an action where simply click the item to buy it. Here is the code.
local config = {
cost = 25000,
rune_id = 8472
}
function onUse(cid, item, frompos, fromPosition, itemEx, toPosition, topos)
if doPlayerRemoveMoney(cid, config.cost) == TRUE then...