- 447
- 93
- Версия MoonLoader
- .027.0-preview
Всё работало, работало и тут на нахуй, ошибка.
(error) FamCapt Helper: ...¸ äëÿ ñáîðêè\sborka\moonloader\FamCaptHelper_v.2.4.6.lua:336: sol: no matching function call takes this number of arguments and the specified types
stack traceback:
[C]: in function 'ImBool'
...¸ äëÿ ñáîðêè\sborka\moonloader\FamCaptHelper_v.2.4.6.lua:336: in main chunk
По номеру это вот это строка local start = imgui.ImBool(ini.settings.start)
Код:
--КФГ--
local directIni = 'FamCfg.ini' -- Путь и название скрипта
local def = inicfg.load(inicfg.load({
encoding = {
default = "кодировка"
},
team_color = {
r = 0.098039217293262,
g = 0.81960785388947,
b = 0.098039217293262,
a = 1.00
},
enemy_color = {
r=0.95686274766922,
g=0.1176470592618,
b=0.1176470592618,
a=1.00
},
--[[Nicknames = {
},]]
settings = {
activation_cmd = "fstats",
armor_timer = false,
times = '',
timesone = '',
timestwo = '',
timesset = 0,
start = false,
atposx = select(1, getScreenResolution()) - 220,
atposy = (select(2, getScreenResolution()) - 70) / 2,
atfontsize = 10,
bind_armour = false,
bind_drugs = false,
bind_heal = false,
bind_beer = false,
bind_mask = false
},
hotkey = {
bindArmour = "[18,82]",
bindDrugs = "[18,83]",
bindBeer = "[18,81]",
bindHeal = "[18,84]",
bindMask = "[18,85]"
},
config =
{
secondPosX = 300,
secondPosY = 500,
active = false,
NoTitleBar = true,
colored = false,
scoreFix = false
},
}, directIni))
local ini = inicfg.load(def, directIni)
local start = imgui.ImBool(ini.settings.start)
local timesset = imgui.ImInt(ini.settings.timesset)
times.v = (ini.settings.times)
timesone.v = (ini.settings.timesone)
timestwo.v = (ini.settings.timestwo)
(error) FamCapt Helper: ...¸ äëÿ ñáîðêè\sborka\moonloader\FamCaptHelper_v.2.4.6.lua:336: sol: no matching function call takes this number of arguments and the specified types
stack traceback:
[C]: in function 'ImBool'
...¸ äëÿ ñáîðêè\sborka\moonloader\FamCaptHelper_v.2.4.6.lua:336: in main chunk
По номеру это вот это строка local start = imgui.ImBool(ini.settings.start)