local imgui = require 'imgui'
local key = require 'vkeys'
local s_open = imgui.ImBool(false)
local s_openn = imgui.ImBool(false)
function imgui.OnDrawFrame()
if s_open.v then
imgui.SetNextWindowSize(imgui.ImVec2(500, 440), imgui.Cond.FirstUseEver)
imgui.Begin('qq zaebisya ksta1', s_open, imgui.WindowFlags.MenuBar)
imgui.End()
end
if s_openn.v then
imgui.SetNextWindowSize(imgui.ImVec2(500, 440), imgui.Cond.FirstUseEver)
imgui.Begin('qq zaebisya ksta2', s_openn, imgui.WindowFlags.MenuBar)
imgui.End()
end
end
function main()
while true do
wait(0)
if wasKeyPressed(key.VK_X) then
s_open.v = not s_open.v
end
if wasKeyPressed(key.VK_Z) then
s_openn.v = not s_openn.v
end
imgui.Process = s_open.v
imgui.Process = s_openn.v
end
end