local selectedItem = imgui.new.int(0)
local items = {"что ты выеберешь", "босинаааа", "бромо ком"}
local newFrame = imgui.OnFrame(
function() return renderWindow[0] end,
function(player)
local resX, resY = getScreenResolution()
local sizeX, sizeY = 300, 300
imgui.SetNextWindowPos(imgui.ImVec2(resX / 2, resY / 2), imgui.Cond.FirstUseEver, imgui.ImVec2(0.5, 0.5))
imgui.SetNextWindowSize(imgui.ImVec2(sizeX, sizeY), imgui.Cond.FirstUseEver)
if imgui.Begin('BROMO COM', renderWindow) then
for i = 1, #items do
if imgui.CustomSelectable(u8(items[i]), selectedItem[0] == i - 1, 5) then
selectedItem[0] = i - 1
end
end
imgui.End()
end
end
)