delete comments

test-utf-8
rubin 2 years ago
parent 10e7bd6412
commit f64ba55c03
  1. 30
      TruckHUD.lua

@ -347,25 +347,6 @@ function settings_load()
end
end
-- try(
-- function()
-- local file, error = io.open(AdressJson, "r")
-- if file then
-- inifiles = decodeJson(file:read("*a"))
-- io.close(file)
-- end
-- end,
-- function(e)
-- sampAddChatMessage("[TruckHUD] Îøèáêà ÷òåíèÿ êîíôèãà! Ñáðàñûâàþ êîíôèã!", 0xff0000)
-- local file, error = io.open(AdressJson, "w")
-- if file ~= nil then
-- file:write(encodeJson(table_std))
-- file:flush()
-- io.close(file)
-- end
-- end
-- )
local readJson = function()
local file, error = io.open(AdressJson, "r")
if file then
@ -999,12 +980,6 @@ function doPair()
end
end
-- Ïðîâåðêà íàïàðíèêà íà ïðîòèâîïîëîæíîå ìåñòî
-- pair_table["pos"]["x"], pair_table["pos"]["y"], pair_table["pos"]["z"]
-- Ñîäåðæàòü ïåðåìåííóþ ãîòîâíîñòè ëîêàëüíîãî ïåðñà
-- Ñîäåðæàòü ïåðåìåííóþ ãîòîâíîñòè íàïàðíèêà
if pair_table["pos"] ~= nil then
local x, y, z = getCharCoordinates(playerPed)
local result_find = false
@ -2731,11 +2706,6 @@ function loadEvents()
prices_3dtext[k .. "n"], prices_3dtext[k .. "y"], prices_3dtext[k .. "l"] = cargoN, cargoY, cargoL
prices_3dtext_id[k .. "n"], prices_3dtext_id[k .. "y"], prices_3dtext_id[k .. "l"] = id, id, id
prices_3dtext_pos[k .. "n"], prices_3dtext_pos[k .. "y"], prices_3dtext_pos[k .. "l"] = position, position, position
-- for k, v in pairs(prices_3dtext) do
-- if string.find(tostring(prices_3dtext[k]), "99") then
-- prices_3dtext[k] = tonumber(prices_3dtext[k]) + 1
-- end
-- end
local port = (text:find("ËÑ") and "ËÑ" or "ÑÔ")
local ctext =
string.format(

Loading…
Cancel
Save