local config = {
price = 10000,
itemid = 2173
};
function onSay(cid, words, param, channel)
if getPlayerMoney(cid) < (config.price) then
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"You do not have enough money to buy an AOL, you need " .. config.price .. " gold to buy an AOL!")
else
doPlayerRemoveMoney(cid, (config.price))
doPlayerGiveItem(cid, (config.itemid), 1)
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"You've bought an AOL.")
end
return true
end