require "lib.moonloader"
local sampev = require"lib.samp.events"
function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(100) end
end
function sampev.onShowDialog(id, style, title, button1, button2, text)
    if title:find("Транспорт продается") and text:find("Этот транспорт продается.") then
        sampSendDialogResponse(id, 0, 0, -1)
        return false
    end
end