imgui.OnFrame(function() return WinState[0] end, function(player)
imgui.SetNextWindowPos(imgui.ImVec2(500,500),
imgui.Cond.FirstUseEver, imgui.ImVec2(0.5, 0.5))
imgui.SetNextWindowSize(imgui.ImVec2(245, 270), imgui.Cond.Always)
imgui.Begin(u8'AbobaMultiCheat', WinState, imgui.WindowFlags.NoResize)
imgui.Checkbox(u8"Fisheye", checkboxone)
imgui.Checkbox(u8"Abobatest", checkboxtest)
if imgui.Button(u8'AirBreak') then
sampSendChat("/airbrake")
end
imgui.End()
end)
function test()
while true do wait(0)
if checkboxtest[0] then
sampAddChatMessage('Вы поставили галочку в чекбоксе',-1)
wait(5000)
end
end
end