Imgui.Checkbox

r3wZzzz

Участник
Автор темы
79
10
Что нужно в checkbox? С imgui.Button всё работало, тут скрипт крашит

[ML] (error) New Render: D:\ARIZONA GAMM8ECLaq9zC4xgck6QUJACuAxDkZyouDAner.lua:42: stack index 2, expected userdata, received sol.ImVec2: value at this index does not properly reflect the desired type (bad argument into 'bool(const char*, ImValue<bool>*)')
stack traceback:
[C]: in function 'Checkbox'
D:\ARIZONA GAMM8ECLaq9zC4xgck6QUJACuAxDkZyouDAner.lua:42: in function 'OnDrawFrame'
D:\ARIZONA GAMM8ECLaq9zC4xgck6QUJACuAxDkZyouDAnui.lua:1378: in function <D:\ARIZONA GAMM8ECLaq9zC4xgck6QUJACuAxDkZyouDAnui.lua:1367>
[ML] (error) New Render: Script died due to an error. (46E420EC)

1:
if imgui.Checkbox(u8"Х1йня какая-то", imgui.ImVec2(100, 50), checkedbox_hueta, 2) then rhueta = not rhueta save2()()