Bug fixes and improvements (#984)

* feat(KickFromInterior): improve kick from interior

Fixes #968
Fixes #953
Fixes #901
Fixes #899
Fixes #813
Fixes #726
Fixes #723

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
This commit is contained in:
maybegreat48
2023-02-13 20:38:30 +00:00
committed by GitHub
parent 032e441753
commit 1f5a118cb9
50 changed files with 1658 additions and 155 deletions

View File

@ -26,7 +26,7 @@ namespace big
ImGui::BeginGroup();
ImGui::Checkbox("God Mode", &g.self.god_mode);
components::command_checkbox<"godmode">();
components::command_checkbox<"otr">();
components::command_checkbox<"freecam">();
components::command_checkbox<"nophone">();
@ -52,14 +52,13 @@ namespace big
components::command_checkbox<"invis">();
if (g.self.invisibility)
components::command_checkbox<"localvis">();
components::command_checkbox<"localvis">(); // TODO: does nothing in SP
components::command_checkbox<"cleanloop">();
components::command_checkbox<"nocollision">();
components::command_checkbox<"mobileradio">();
components::command_checkbox<"superman">();
// TODO: fix this, causes a crash
// ImGui::Checkbox("DANCE_MODE"_T.data(), &g.self.dance_mode);
ImGui::Checkbox("DANCE_MODE"_T.data(), &g.self.dance_mode);
ImGui::EndGroup();

View File

@ -17,7 +17,7 @@ namespace big
components::command_checkbox<"infammo">();
components::command_checkbox<"infclip">();
ImGui::Checkbox("Interior Weapon", &g.weapons.interior_weapon);
ImGui::Checkbox("Allow Weapons In Interiors", &g.weapons.interior_weapon);
ImGui::EndGroup();
ImGui::SameLine();