2022-05-04 19:16:40 +02:00
|
|
|
#include "views/view.hpp"
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void view::protection_settings()
|
|
|
|
{
|
|
|
|
ImGui::BeginGroup();
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("Bounty", &g.protections.script_events.bounty);
|
|
|
|
ImGui::Checkbox("CEO Ban", &g.protections.script_events.ceo_ban);
|
|
|
|
ImGui::Checkbox("CEO Kick", &g.protections.script_events.ceo_kick);
|
|
|
|
ImGui::Checkbox("CEO Money", &g.protections.script_events.ceo_money);
|
|
|
|
ImGui::Checkbox("TSE Crash", &g.protections.script_events.crash);
|
|
|
|
ImGui::Checkbox("Fake Deposit", &g.protections.script_events.fake_deposit);
|
|
|
|
ImGui::Checkbox("Force Mission", &g.protections.script_events.force_mission);
|
2022-05-04 19:16:40 +02:00
|
|
|
ImGui::EndGroup();
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::BeginGroup();
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("Force Teleport", &g.protections.script_events.force_teleport);
|
|
|
|
ImGui::Checkbox("GTA Banner", &g.protections.script_events.gta_banner);
|
|
|
|
ImGui::Checkbox("MC Teleport", &g.protections.script_events.mc_teleport);
|
|
|
|
ImGui::Checkbox("Network Bail", &g.protections.script_events.network_bail);
|
|
|
|
ImGui::Checkbox("Personal Vehicle Destroyed", &g.protections.script_events.personal_vehicle_destroyed);
|
|
|
|
ImGui::Checkbox("Remote Off Radar", &g.protections.script_events.remote_off_radar);
|
|
|
|
ImGui::Checkbox("Rotate Cam", &g.protections.script_events.rotate_cam);
|
2022-05-04 19:16:40 +02:00
|
|
|
ImGui::EndGroup();
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::BeginGroup();
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("Send to Cutscene", &g.protections.script_events.send_to_cutscene);
|
|
|
|
ImGui::Checkbox("Send to Location", &g.protections.script_events.send_to_location);
|
|
|
|
ImGui::Checkbox("Sound Spam", &g.protections.script_events.sound_spam);
|
|
|
|
ImGui::Checkbox("Spectate", &g.protections.script_events.spectate);
|
|
|
|
ImGui::Checkbox("Transaction Error", &g.protections.script_events.transaction_error);
|
|
|
|
ImGui::Checkbox("Vehicle Kick", &g.protections.script_events.vehicle_kick);
|
|
|
|
ImGui::Checkbox("Wanted Level", &g.protections.script_events.clear_wanted_level);
|
2022-05-04 19:16:40 +02:00
|
|
|
ImGui::EndGroup();
|
2022-08-29 10:26:18 +00:00
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::BeginGroup();
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("Teleport To Warehouse", &g.protections.script_events.teleport_to_warehouse);
|
|
|
|
ImGui::Checkbox("Start Activity", &g.protections.script_events.start_activity);
|
2022-12-27 01:49:55 +08:00
|
|
|
ImGui::Checkbox("Send SMS", &g.protections.script_events.send_sms);
|
2022-12-18 23:15:52 +01:00
|
|
|
components::script_patch_checkbox("Script Host Kick", &g.protections.script_host_kick);
|
2022-12-31 00:47:01 +00:00
|
|
|
ImGui::Checkbox("Desync Kick", &g.protections.desync_kick);
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("RID Join", &g.protections.rid_join);
|
2022-11-13 16:34:44 +00:00
|
|
|
if (ImGui::IsItemHovered())
|
2022-12-31 00:47:01 +00:00
|
|
|
ImGui::SetTooltip("This will block anyone trying to join, kick or crash you with your Rockstar ID, including your friends");
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("Lessen Breakup Kicks As Host", &g.protections.lessen_breakups);
|
2022-11-21 15:42:12 +00:00
|
|
|
if (ImGui::IsItemHovered())
|
|
|
|
ImGui::SetTooltip("Attacker must join after you have become host for this to work. There are anti-cheat concerns with this feature");
|
2022-08-29 10:26:18 +00:00
|
|
|
ImGui::EndGroup();
|
2022-05-04 19:16:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|