plohoy. Известный Автор темы 109 25 30 Июл 2022 #1 Версия MoonLoader .026-beta Код: if box1.v then cmd_imgui3() end function cmd_imgui3(arg) four_window_state.v = not four_window_state.vkeys imgui.Process = four_window_state.v end как сделать чтобы при включенном чекбоксе он открывался, а при выключенном закрывался?
Код: if box1.v then cmd_imgui3() end function cmd_imgui3(arg) four_window_state.v = not four_window_state.vkeys imgui.Process = four_window_state.v end как сделать чтобы при включенном чекбоксе он открывался, а при выключенном закрывался?
Решение qdIbp 30 Июл 2022 Lua: box1 = imgui.ImBool(false) if imgui.Checkbox("Check", box1) then four_window_state.v = box1.v end Исправил ошибку
Lua: box1 = imgui.ImBool(false) if imgui.Checkbox("Check", box1) then four_window_state.v = box1.v end Исправил ошибку
qdIbp Автор темы Проверенный 1,450 1,191 30 Июл 2022 Решение #2 Lua: box1 = imgui.ImBool(false) if imgui.Checkbox("Check", box1) then four_window_state.v = box1.v end Исправил ошибку Реакции: plohoy. Позитивный голос 0 Негативный голос Решение
Lua: box1 = imgui.ImBool(false) if imgui.Checkbox("Check", box1) then four_window_state.v = box1.v end Исправил ошибку