|
|
|
@ -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 |
|
|
|
|