From 9ba248517e66f52158c7ef2ca285581fd1bf6201 Mon Sep 17 00:00:00 2001 From: Yimura Date: Tue, 29 Dec 2020 00:21:15 +0100 Subject: [PATCH] feat(TabTunables): Added option te set car sell value at INT_MAX --- BigBaseV2/src/gui/tab_bar/tab_tunables.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/BigBaseV2/src/gui/tab_bar/tab_tunables.cpp b/BigBaseV2/src/gui/tab_bar/tab_tunables.cpp index c823a5ef..4150efc1 100644 --- a/BigBaseV2/src/gui/tab_bar/tab_tunables.cpp +++ b/BigBaseV2/src/gui/tab_bar/tab_tunables.cpp @@ -11,9 +11,14 @@ namespace big if (ImGui::Checkbox("No Idle Kick", g_settings.options["no_idle_kick"].get())) g_settings.save(); - if (ImGui::Button("Set Car Sell Value at $25.000.000")) + if (ImGui::Button("Set Car Sell Value at 25 million")) { - *script_global(99007).at(970).as() = (int)25e6; + *script_global(99007).at(970).as() = 25000000; + } + + if (ImGui::Button("Set Car Sell Value at INT_MAX (2.1 billion)")) + { + *script_global(99007).at(970).as() = INT_MAX; } ImGui::EndTabItem();