Block traffic protection (#2688)

* fix: don't randomize components if we're cloning an existing ped
* feat(protections): add traffic manipulation protection
* fix(protections): add a mission check
This commit is contained in:
maybegreat48
2024-02-09 14:34:45 +00:00
committed by GitHub
parent ad1dfc71d2
commit 240ca76e3b
3 changed files with 8 additions and 1 deletions

View File

@ -56,6 +56,7 @@ namespace big
ImGui::SetTooltip("VIEW_PROTECTION_SETTINGS_RECEIVE_PICKUP_TOOLTIP"_T.data());
ImGui::Checkbox("ADMIN_CHECK"_T.data(), &g.protections.admin_check);
ImGui::Checkbox("VIEW_PROTECTION_SETTINGS_KICK_REJOIN"_T.data(), &g.protections.kick_rejoin);
ImGui::Checkbox("BLOCK_TRAFFIC_MANIPULATION"_T.data(), &g.protections.stop_traffic);
components::command_checkbox<"forcerelays">();
ImGui::EndGroup();