local se = require('samp.events')
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(0) end
wait(-1)
end
function se.onShowDialog(dialogId, style, title, button1, button2, text)
if text:find("Покажу водителю дорогу") then
sampSendDialogResponse(dialogId, 1, 2, -1)
end