feat(TabTunables): Added option te set car sell value at INT_MAX

This commit is contained in:
Yimura 2020-12-29 00:21:15 +01:00
parent 032271d15f
commit 554ab88ed0

View File

@ -11,9 +11,14 @@ namespace big
if (ImGui::Checkbox("No Idle Kick", g_settings.options["no_idle_kick"].get<bool*>()))
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*>() = (int)25e6;
*script_global(99007).at(970).as<int*>() = 25000000;
}
if (ImGui::Button("Set Car Sell Value at INT_MAX (2.1 billion)"))
{
*script_global(99007).at(970).as<int*>() = INT_MAX;
}
ImGui::EndTabItem();