From 97f4a6b9e6622941481e91c692748702ffc6bef9 Mon Sep 17 00:00:00 2001 From: rubin Date: Fri, 30 Jun 2023 15:30:16 +0300 Subject: [PATCH] added support new server & bump version --- changelog | 4 +++- corn-hud.lua | 6 ++++-- version | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/changelog b/changelog index b735be2..cf8707f 100644 --- a/changelog +++ b/changelog @@ -5,4 +5,6 @@ Добавлен модуль автообновлений /rubin-mods Версия от 28.01.23.1 Фикс проверки /finfo - Фикс загрузки с фермы \ No newline at end of file + Фикс загрузки с фермы +Версия от 30.06.2023 + Добавлена поддержка нового сервера Underground \ No newline at end of file diff --git a/corn-hud.lua b/corn-hud.lua index 1e0dc76..cb38832 100644 --- a/corn-hud.lua +++ b/corn-hud.lua @@ -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 diff --git a/version b/version index 3ddefde..198234b 100644 --- a/version +++ b/version @@ -1 +1 @@ -28.01.23.1 \ No newline at end of file +30.06.2023 \ No newline at end of file