added support new server & bump version

master
rubin 2 years ago
parent cefcfe6cbf
commit 97f4a6b9e6
  1. 4
      changelog
  2. 6
      corn-hud.lua
  3. 2
      version

@ -5,4 +5,6 @@
Добавлен модуль автообновлений /rubin-mods
Версия от 28.01.23.1
Фикс проверки /finfo
Фикс загрузки с фермы
Фикс загрузки с фермы
Версия от 30.06.2023
Добавлена поддержка нового сервера Underground

@ -1,6 +1,6 @@
script_name('corn-hud')
script_author("Serhiy_Rubin")
script_version("28.01.23.1")
script_version("30.06.2023")
require 'lib.sampfuncs'
require 'lib.moonloader'
dlstatus = require("moonloader").download_status
@ -30,7 +30,9 @@ function main()
(server:find("02") and "Two" or
(server:find("Revo") and "Revolution" or
(server:find("Legacy") and "Legacy" or (server:find("Classic") and "Classic" or
(server:find("Zero Two") and "Two" or "")))))
(server:find("Two") and "Two" or
(server:find("TEST") and "TEST" or
(server:find("Underground") and "Underground" or "" )))))))
if server == "" then
thisScript():unload()
end

@ -1 +1 @@
28.01.23.1
30.06.2023
Loading…
Cancel
Save