local imgui = require 'mimgui'
local new = imgui.new
local show = new.bool(false)
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("menu", function()
show.v = not show.v
end)
while true do
wait(0)
end
end
imgui.OnDrawFrame(function()
if not show.v then return end
imgui.Begin("Мега чит", show)
imgui.Text("версия 1")
imgui.End()
end)