Compare commits

...

3 Commits

  1. 7
      TruckHUD.lua
  2. 7
      changelog
  3. 2
      version

@ -1,6 +1,6 @@
script_name("TruckHUD")
script_author("Serhiy_Rubin")
script_version("28.01.2023")
script_version("28.01.23.2")
local inicfg = require "inicfg"
local dlstatus = require("moonloader").download_status
@ -4298,7 +4298,7 @@ script_update = {
local result, text = pcall(openURL, script_update.version_url, fpath)
if result then
ini.settings.server_version = text
if text ~= "" and not string.find(text, thisScript().version) then
if text ~= "" and text ~= thisScript().version then
addChatMessage( string.format("Вышла новая версия '%s'. Текущая: '%s'", text, thisScript().version) )
if ini.settings.auto_update then
addChatMessage( string.format("Автообновление скрипта включено. Процесс запущен!") )
@ -4317,7 +4317,7 @@ script_update = {
local fpath = os.tmpname()
local result, text = pcall(openURL, script_update.version_url, fpath)
if result then
if text ~= "" and not string.find(text, thisScript().version) then
if text ~= "" and text ~= thisScript().version then
addChatMessage( string.format("Вышла новая версия '%s'. Текущая: '%s'", text, thisScript().version) )
local fpath = os.tmpname()
local result, text = pcall(openURL, script_update.script_url, fpath)
@ -4467,5 +4467,6 @@ utf8({ "sampSetCurrentDialogEditboxText" }, "Utf8ToAnsi")
utf8({ "sampCreate3dTextEx" }, "Utf8ToAnsi")
utf8({ "sampCreate3dText" }, "Utf8ToAnsi")
utf8({ "sampSet3dTextString" }, "Utf8ToAnsi")
utf8({ "sampGetDialogText" }, nil, "AnsiToUtf8")
utf8({ "sampGetDialogCaption" }, nil, "AnsiToUtf8")
utf8({ "sampHasDialogRespond" }, nil, "AnsiToUtf8")

@ -1,19 +1,18 @@
Версия от 20.01.2023
Фикс принятия пары с кнопкой "G", когда напарник уже стоит
Фикс ложных сообщений соло-чекера о сдачи в порту ЛС, если у вас стояло Дерево
Фикс уведомления о том, что вас добавили в пару, если напарник вышел из игры
Убрано отключение круиз-контроля на Space
Версия от 22.01.2023
Теперь /truckhud-update проверяет обновления и обновляет скрипт
Версия от 27.01.2023
Скрипт переведён на UTF-8
Добавлена проверка версии скрипта /truck users
Версия от 28.01.2023
Обновлен модуль /rubin-mods
Обновлен модуль /rubin-mods
Версия от 28.01.2023.1
Фикс счетчика количества арендованных фур

@ -1 +1 @@
28.01.2023
28.01.23.2
Loading…
Cancel
Save