function imgui.OnDrawFrame()
if not main_window_state.v and not profile_window_state.v then
imgui.Process = false
end
if main_window_state.v then
imgui.SetNextWindowSize(imgui.ImVec2(500, 300), imgui.Cond.FirstUseEver)
imgui.Begin(fa.ICON_USER .. " Profile " .. fa.ICON_USER, main_window_state)
imgui.Text(u8'Arizona Helper ' .. fa.ICON_BOLT)
if imgui.BeginChild('##545', imgui.ImVec2(110, 200), true) then
if imgui.Button(fa.ICON_HOME .. ' Home', imgui.ImVec2(100,25)) then
sampAddChatMessage(tag .. 'Успешно!', -1)
end
if imgui.Button(fa.ICON_USER ..' Profile', imgui.ImVec2(100, 25)) then
profile_window_state.v = not profile_window_state.v
imgui.Process = profile_window_state.v
end
if imgui.Button(fa.ICON_KEYBOARD_O ..' KeyBinding', imgui.ImVec2(100, 25), botton_0) then
sampAddChatMessage(tag .. 'Успешно!', -1)
end
if imgui.Button(fa.ICON_SLIDERS ..' Settings', imgui.ImVec2(100, 25), button_1) then
sampAddChatMessage(tag .. 'Успешно!', -1)
end
if imgui.Button(fa.ICON_USER_PLUS ..' Author', imgui.ImVec2(100, 25), button_2) then
sampAddChatMessage(tag .. 'Успешно!', -1)
end
imgui.EndChild()
end
imgui.End()
end