function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if dialogId == 6370 then
rep_name, rep_id = text:match("{FFFFFF}Жалоба/Вопрос от% (%w+_%w+)%[(%d+)%]")
rep_vopros = rep_vopros:gsub('%{......%}','')
report_window_state.v = not report_window_state.v
imgui.Process = true
return false
end
end
if report_window_state.v then
imgui.Text(u8"Жалоба/Сообщение: " .. u8(rep_vopros))
end