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 bbe28c5b69
commit 9ba248517e
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78

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();