feat(ScriptEventHandler): Forgot to block rotate cam
This commit is contained in:
parent
4292f71a60
commit
7dad45476e
@ -39,6 +39,7 @@ struct globals {
|
||||
bool network_bail = true;
|
||||
bool personal_vehicle_destroyed = true;
|
||||
bool remote_off_radar = true;
|
||||
bool rotate_cam = true;
|
||||
bool send_to_cutscene = true;
|
||||
bool send_to_island = true;
|
||||
bool sound_spam = true;
|
||||
@ -162,6 +163,7 @@ struct globals {
|
||||
this->protections.script_events.network_bail = j["protections"]["script_events"]["network_bail"];
|
||||
this->protections.script_events.personal_vehicle_destroyed = j["protections"]["script_events"]["personal_vehicle_destroyed"];
|
||||
this->protections.script_events.remote_off_radar = j["protections"]["script_events"]["remote_off_radar"];
|
||||
this->protections.script_events.rotate_cam = j["protections"]["script_events"]["rotate_cam"];
|
||||
this->protections.script_events.send_to_cutscene = j["protections"]["script_events"]["send_to_cutscene"];
|
||||
this->protections.script_events.send_to_island = j["protections"]["script_events"]["send_to_island"];
|
||||
this->protections.script_events.sound_spam = j["protections"]["script_events"]["sound_spam"];
|
||||
@ -238,6 +240,7 @@ struct globals {
|
||||
{ "network_bail", this->protections.script_events.network_bail },
|
||||
{ "personal_vehicle_destroyed", this->protections.script_events.personal_vehicle_destroyed },
|
||||
{ "remote_off_radar", this->protections.script_events.remote_off_radar },
|
||||
{ "rotate_cam", this->protections.script_events.rotate_cam },
|
||||
{ "send_to_cutscene", this->protections.script_events.send_to_cutscene },
|
||||
{ "send_to_island", this->protections.script_events.send_to_island },
|
||||
{ "sound_spam", this->protections.script_events.sound_spam },
|
||||
|
@ -42,6 +42,7 @@ namespace big
|
||||
ImGui::Checkbox("Network Bail", &g.protections.script_events.network_bail);
|
||||
ImGui::Checkbox("Destroy Personal Vehicle", &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);
|
||||
ImGui::Checkbox("Send to Cutscene", &g.protections.script_events.send_to_cutscene);
|
||||
ImGui::Checkbox("Send to Island", &g.protections.script_events.send_to_island);
|
||||
ImGui::Checkbox("Sound Spam", &g.protections.script_events.sound_spam);
|
||||
|
@ -69,6 +69,11 @@ namespace big
|
||||
if (g.protections.script_events.remote_off_radar)
|
||||
strcpy(type, "Remote Off Radar");
|
||||
|
||||
break;
|
||||
case eRemoteEvent::RotateCam:
|
||||
if (g.protections.script_events.rotate_cam)
|
||||
strcpy(type, "Rotate Cam");
|
||||
|
||||
break;
|
||||
case eRemoteEvent::SendToCutscene:
|
||||
if (g.protections.script_events.send_to_cutscene)
|
||||
|
Reference in New Issue
Block a user