diff --git a/TruckHUD.lua b/TruckHUD.lua index ed9104b..b631552 100644 --- a/TruckHUD.lua +++ b/TruckHUD.lua @@ -2569,9 +2569,6 @@ function loadEvents() end function sampev.onShowDialog(DdialogId, Dstyle, Dtitle, Dbutton1, Dbutton2, Dtext) - -- Dtext = u8:encode(Dtext) - -- Dtitle = u8:encode(Dtitle) - addChatMessage(Dtitle) if Dstyle == 0 and string.find(Dtext, "{00AB06}Дальнобойщик{CECECE}") and string.find(Dtext, "{00AB06}Механик{CECECE}") then local Skill, SkillP, Rank, RankP = string.match( Dtext, ".+{00AB06}Дальнобойщик{CECECE}.*Скилл: (%d+)\tОпыт: .+ (%d+%.%d+)%%.*{CECECE}Ранг: (%d+) \tОпыт: .+ (%d+%.%d+)%%") if Skill ~= nil then