|
|
@ -2213,21 +2213,6 @@ function loadEvents() |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function find_gruz_name(text) |
|
|
|
|
|
|
|
local result = false |
|
|
|
|
|
|
|
for i = 1, #what_is_uploaded do |
|
|
|
|
|
|
|
if text:find(what_is_uploaded[i]) then |
|
|
|
|
|
|
|
result = true |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
for k,v in pairs(texts_of_reports) do |
|
|
|
|
|
|
|
if text:find(v) then |
|
|
|
|
|
|
|
result = true |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
return result |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function sampev.onServerMessage(color, message) |
|
|
|
function sampev.onServerMessage(color, message) |
|
|
|
if message == " Ó âàñ áàí ÷àòà!" then |
|
|
|
if message == " Ó âàñ áàí ÷àòà!" then |
|
|
|
delay.chatMon = 0 |
|
|
|
delay.chatMon = 0 |
|
|
@ -4270,7 +4255,6 @@ function luChecker.checker() |
|
|
|
|
|
|
|
|
|
|
|
if luChecker.price_set[1] ~= nil and luChecker.trailer_delete[1] ~= nil then |
|
|
|
if luChecker.price_set[1] ~= nil and luChecker.trailer_delete[1] ~= nil then |
|
|
|
playerId = luChecker.trailer_delete[1].playerId |
|
|
|
playerId = luChecker.trailer_delete[1].playerId |
|
|
|
type = luChecker.price_set[1].type |
|
|
|
|
|
|
|
old_price = luChecker.price_set[1].old_price |
|
|
|
old_price = luChecker.price_set[1].old_price |
|
|
|
new_price = luChecker.price_set[1].new_price |
|
|
|
new_price = luChecker.price_set[1].new_price |
|
|
|
position_3dtext = luChecker.price_set[1].position |
|
|
|
position_3dtext = luChecker.price_set[1].position |
|
|
@ -4292,7 +4276,7 @@ function luChecker.checker() |
|
|
|
cargo = key, |
|
|
|
cargo = key, |
|
|
|
time = os.time() |
|
|
|
time = os.time() |
|
|
|
} |
|
|
|
} |
|
|
|
local text = string.format("èãðîê %s %s %s %s", playerId, (type == "load" and "çàãðóçèë" or "ðàçãðóçèë"), inifiles.Settings.luCheckerCargo, dist ) |
|
|
|
local text = string.format("èãðîê %s %s %s %s", playerId, (luChecker.price_set[1].type == "load" and "çàãðóçèë" or "ðàçãðóçèë"), inifiles.Settings.luCheckerCargo, dist ) |
|
|
|
say(">> "..text) |
|
|
|
say(">> "..text) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|