feat: Some small additions (#755)

This commit is contained in:
Bugisoft
2022-12-30 02:09:33 +01:00
committed by GitHub
parent 5bc81ee724
commit 089bcebc17
10 changed files with 79 additions and 6 deletions

View File

@ -23,7 +23,8 @@ namespace big
g_fiber_pool->queue_job([]
{
for (auto& command : g_looped_commands)
command->on_disable();
if (command->is_enabled())
command->on_disable();
g_running = false;
});

View File

@ -9,7 +9,6 @@ namespace big
ImGui::SetWindowSize({ 0.f, (float)*g_pointers->m_resolution_y }, ImGuiCond_Always);
components::sub_title("Merryweather");
ImGui::Separator();
components::button("Request Ammo Drop", [] {
@ -20,6 +19,15 @@ namespace big
mobile::merry_weather::request_helicopter_pickup();
});
components::button("Request Backup Helicopter", [] {
mobile::merry_weather::request_backup_helicopter();
});
components::button("Request Airstrike", [] {
mobile::merry_weather::request_airstrike();
});
components::sub_title("Mors Mutual");
ImGui::Separator();
components::button("Mors Mutual Fix All Vehicles", [] {
@ -28,5 +36,13 @@ namespace big
std::format("{} vehicle{} been fixed.", amount_fixed, amount_fixed == 1 ? " has" : "s have")
);
});
components::sub_title("CEO Abilities");
ImGui::Separator();
components::button("Bullshark Testosterone", [] {
mobile::ceo_abilities::request_bullshark_testosterone();
});
}
}

View File

@ -114,5 +114,13 @@ namespace big
components::button("Deathmatch", [] { scripts::start_creator_script(RAGE_JOAAT("fm_deathmatch_creator")); }); ImGui::SameLine();
components::button("LTS", [] { scripts::start_creator_script(RAGE_JOAAT("fm_lts_creator")); });
ImGui::EndGroup();
components::sub_title("Creator Options");
ImGui::BeginGroup();
ImGui::Checkbox("Infinite Model Memory", &g.ugc.infinite_model_memory);
if (ImGui::IsItemHovered())
ImGui::SetTooltip("Infinite Model Memory is only useful if dev mode is not activated");
ImGui::EndGroup();
}
}