local key = require 'vkeys'
local on = require "lib.samp.events"
local imgui = require 'imgui'
local main_window_state = imgui.ImBool(false)
local cb = imgui.ImBool(false)
function imgui.OnDrawFrame()
if main_window_state.v then
imgui.SetNextWindowSize(imgui.ImVec2(150, 200), imgui.Cond.FirstUseEver)
imgui.Begin('hueta', main_window_state)
imgui.Checkbox("Govno na palochke", cb)
imgui.End()
end
end
function on.onShowDialog(did, style, title, b1, b2, text)
if cb.v then
return false
end
end
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do wait(0)
if...