require('lib.moonloader')
require('lib.sampfuncs')
local sampev = require 'samp.events'
function main()
while not isSampAvailable() do wait(0) end
sampAddChatMessage('This best script for AutoBazar!', 0xFFff0000)
sampRegisterChatCommand('autobazar', function()
sampSendChat('/sellcarto')
sampSendDialogResponse('15518', nil, 0, nil)
sampSendDialogResponse('15519', nil, nil, '69, 100000000')
sampSendDialogResponse('15085', '1', nil, nil)
end)
end