fix max load & bump version 18.02.2023

master
rubin 2 years ago
parent 51209b131c
commit 5cc7e8b291
  1. 6
      TruckHUD.lua

@ -1,6 +1,6 @@
script_name("TruckHUD")
script_author("Serhiy_Rubin")
script_version("14.02.2023")
script_version("18.02.2023")
local inicfg = require "inicfg"
local dlstatus = require("moonloader").download_status
@ -2249,8 +2249,8 @@ function loadEvents()
end
function sampev.onServerMessage(color, message)
if string.find(message, "^ Нефть: %d+ / (%d+)$") then
maxload_int = tonumber(string.match(message, "^ Нефть: %d+ / (%d+)$"))
if string.find(message, " Нефть: %d+ / (%d+)$") then
maxload_int = tonumber(string.match(message, " Нефть: %d+ / (%d+)$"))
end
if message == " У вас бан чата!" then
delay.chatMon = 0

Loading…
Cancel
Save