- 7
- 0
- Версия MoonLoader
- .026-beta
lua:
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(1)
local chatstring = sampGetChatString(99)
if chatstring == "Server closed the connection." or chatstring == "You are banned from this server." then
sampDisconnectWithReason(false)
sampAddChatMessage("Wait reconnecting...", 0xa9c4e4)
wait(10000) -- задержка
sampSetGamestate(1)
end
end
end