Нужна помощь с PieMenu

Nelit

Потрачен
Автор темы
252
39
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Версия MoonLoader
.026-beta
Зажимаю alt, появляется мышь которая мигает но меню нету.​
Lua:
    while true do
        wait(0)

        if isKeyDown(VK_MENU) then
            show_pie.v = not show_pie.v
        end

        imgui.Process = show_pie.v or main_window.v

    end

function imgui.OnDrawFrame()

    if show_pie.v then

        if imgui.IsWindowHovered() and imgui.IsMouseClicked(1) then
            imgui.OpenPopup('PieMenu')
        end
  
        if pie.BeginPiePopup('PieMenu', 1) then
        if pie.PieMenuItem('Test1') then end
        if pie.PieMenuItem('Test2') then end
        if pie.PieMenuItem('Test3', false) then end
        if pie.BeginPieMenu('Sub') then
        if pie.BeginPieMenu('Sub sub\nmenu') then
        if pie.PieMenuItem('SubSub') then end
        if pie.PieMenuItem('SubSub2') then end
  
        pie.EndPieMenu()
  
        end
  
        if pie.PieMenuItem('TestSub') then end
        if pie.PieMenuItem('TestSub2') then end
  
        pie.EndPieMenu()
        end
  
        pie.EndPiePopup()
        end

    end
  
end

Киньте нормальный пример с ипользованием этого меню. Желательнос комментариями так как я тупой​