mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-01 12:02:55 +08:00
feat(Overlay): Added indicators for options like player & vehicle god mode, infinite ammo etc. & fixed Bull Shark Testosterone Request (#1580)
* fix(CEO Abilities): Fixed request bullshark testosterone script * feat(Overlay): Added indicators for options like player & vehicle godmode etc.
This commit is contained in:
@ -28,6 +28,35 @@ namespace big
|
||||
ImGui::Text(std::format("Players: {}/{}", network_player_mgr->m_player_count, network_player_mgr->m_player_limit)
|
||||
.c_str());
|
||||
|
||||
if (g.window.ingame_overlay.show_indicators)
|
||||
{
|
||||
ImGui::Separator();
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_player_godmode)
|
||||
components::overlay_indicator("Player Godmode", g.self.god_mode);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_off_radar)
|
||||
components::overlay_indicator("Off Radar", g.self.off_radar);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_vehicle_godmode)
|
||||
components::overlay_indicator("Vehicle Godmode", g.vehicle.god_mode);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_never_wanted)
|
||||
components::overlay_indicator("Never Wanted", g.self.never_wanted);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_infinite_ammo)
|
||||
components::overlay_indicator("Infinite Ammo", g.weapons.infinite_ammo);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_infinite_mag)
|
||||
components::overlay_indicator("Infinite Magazine", g.weapons.infinite_mag);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_aimbot)
|
||||
components::overlay_indicator("Aimbot", g.weapons.aimbot.enable);
|
||||
|
||||
if (g.window.ingame_overlay_indicators.show_triggerbot)
|
||||
components::overlay_indicator("Triggerbot", g.weapons.triggerbot);
|
||||
}
|
||||
|
||||
if (g.window.ingame_overlay.show_position && g_local_player)
|
||||
{
|
||||
ImGui::Separator();
|
||||
|
@ -47,6 +47,7 @@ namespace big
|
||||
ImGui::Checkbox("Show Time", &g.window.ingame_overlay.show_time);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Show time is currently disabled as it caused problems for some users.");
|
||||
ImGui::Checkbox("Show Indicators", &g.window.ingame_overlay.show_indicators);
|
||||
|
||||
ImGui::EndGroup();
|
||||
ImGui::SameLine();
|
||||
@ -57,6 +58,28 @@ namespace big
|
||||
ImGui::Checkbox("Show Game Version", &g.window.ingame_overlay.show_game_versions);
|
||||
|
||||
ImGui::EndGroup();
|
||||
|
||||
if (g.window.ingame_overlay.show_indicators)
|
||||
{
|
||||
if (ImGui::TreeNode("Overlay Indicators"))
|
||||
{
|
||||
ImGui::BeginGroup();
|
||||
ImGui::Checkbox("Show Player Godmode", &g.window.ingame_overlay_indicators.show_player_godmode);
|
||||
ImGui::Checkbox("Show Off Radar", &g.window.ingame_overlay_indicators.show_off_radar);
|
||||
ImGui::Checkbox("Show Vehicle Godmode", &g.window.ingame_overlay_indicators.show_vehicle_godmode);
|
||||
ImGui::Checkbox("Show Never Wanted", &g.window.ingame_overlay_indicators.show_never_wanted);
|
||||
ImGui::EndGroup();
|
||||
ImGui::SameLine();
|
||||
ImGui::BeginGroup();
|
||||
ImGui::Checkbox("Show Infinite Ammo", &g.window.ingame_overlay_indicators.show_infinite_ammo);
|
||||
ImGui::Checkbox("Show Infinite Magazine", &g.window.ingame_overlay_indicators.show_infinite_mag);
|
||||
ImGui::Checkbox("Show Aimbot", &g.window.ingame_overlay_indicators.show_aimbot);
|
||||
ImGui::Checkbox("Show Triggerbot", &g.window.ingame_overlay_indicators.show_triggerbot);
|
||||
ImGui::EndGroup();
|
||||
|
||||
ImGui::TreePop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user