')' expected (to close '(' at line 24) near 'end'
а эта брат [ transpert in scope.lua ] syntax error: ...rike Global Offensive/nix/scripts/transpert in scope.lua:1: '=' expected near 'local_chams_enable
ocal local_chams_enable = ui.get_check_box("visuals_models_local_enable")
local local_chams_color = ui.get_color_edit("visuals_models_local_color")
local local_chams_cache = local_chams_color:get_value().a
local local_chams_changed = false
gui.options(gui.checkbox("scope transparency"), function()
gui.slider("value", 0, 255, 175)
end):paint(function(el)
local_chams_enable:set_value(true)
function backup()
if not local_chams_changed then
local_chams_cache = local_chams_color:get_value().a
else
local_chams_changed = false
local_chams_color:set_value(local_chams_color:get_value():alpha(local_chams_cache))
end')'
end')'
local lp = entitylist.lp()
if not lp or not lp:is_alive() then return backup() end
if ui.is_visible() then return backup() end
if lp:is_scoped() then
local_chams_changed = true
local_chams_color:set_value(local_chams_color:get_value():alpha(el.elems.value.val()))
else backup() end
end')':change(function(on, el)
if not el.val() then
local_chams_color:set_value(local_chams_color:get_value():alpha(local_chams_cache))
end')' вот код и эта ошибка
ocal local_chams_enable = ui.get_check_box("visuals_models_local_enable")
local local_chams_color = ui.get_color_edit("visuals_models_local_color")
local local_chams_cache = local_chams_color:get_value().a
local local_chams_changed = false
gui.options(gui.checkbox("scope transparency"), function()
gui.slider("value", 0, 255, 175)
end):paint(function(el)
local_chams_enable:set_value(true)
function backup()
if not local_chams_changed then
local_chams_cache = local_chams_color:get_value().a
else
local_chams_changed = false
local_chams_color:set_value(local_chams_color:get_value():alpha(local_chams_cache))
end')'
end')'
local lp = entitylist.lp()
if not lp or not lp:is_alive() then return backup() end
if ui.is_visible() then return backup() end
if lp:is_scoped() then
local_chams_changed = true
local_chams_color:set_value(local_chams_color:get_value():alpha(el.elems.value.val()))
else backup() end
end')':change(function(on, el)
if not el.val() then
local_chams_color:set_value(local_chams_color:get_value():alpha(local_chams_cache))
end')'
прада#4242