Fixed player getting ejected from nightclub while holding weapon. (#2447)

* Fixed nightclub ejecting the player if they had weapons equipped with Allow Weapons in Interiors on.
* Fix jittering weapons in the freakshop.
* Added all carmod shop scripts to prevent jittering in interiors.
This commit is contained in:
gir489
2023-11-24 15:34:33 -05:00
committed by GitHub
parent a5fb18c06b
commit 522fd3bac3
3 changed files with 42 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace big
components::command_checkbox<"alwaysfullammo">();
components::command_checkbox<"infclip">();
components::command_checkbox<"infrange">();
ImGui::Checkbox("VIEW_WEAPON_ALLOW_WEAPONS_IN_INTERIORS"_T.data(), &g.weapons.interior_weapon);
components::command_checkbox<"allowwepsinside">();
ImGui::EndGroup();
ImGui::SameLine();