local ev = require 'lib.samp.events'
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
end
end
function ev.onShowDialog(id, style, title, button1, butto2, input) -- срабатывает, если открылось диалоговое окно.
-- your code
end