script_name('Autologin') script_author('FForest') script_version('1.0') local sampev = require "lib.samp.events" function sampev.onShowDialog(id, stytle, title, btn1, btn2, text) --nick ввести Ваш ник if id == 1 and text:find("nick") then --pass ввести Ваш пасс sampSendDialogResponse(id, 1, 0, "pass") end end function main() if not isSampfuncsLoaded() or not isSampLoaded() then return end while not isSampAvailable() do wait(100) end end