local sampev = require('lib.samp.events')
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(0) end
wait(-1)
end
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if title == "Пароль от сервера" then
sampCloseCurrentDialogWithButton(0)
else
return
end
end