mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-01 12:02:55 +08:00
Add more requests and reorganize network tab (#1709)
This commit is contained in:
@ -125,6 +125,10 @@ namespace big
|
||||
components::script_patch_checkbox("REVEAL_OTR_PLAYERS"_T, &g.session.decloak_players, "Reveals players that are off the radar");
|
||||
components::script_patch_checkbox("Reveal Hidden Players", &g.session.unhide_players_from_player_list, "Reveals players that have hidden themselves from the player list");
|
||||
|
||||
components::command_button<"sextall">({}, "Send Sexts");
|
||||
ImGui::SameLine();
|
||||
components::command_button<"fakebanall">({}, "Send Fake Ban Messages");
|
||||
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
|
||||
@ -223,6 +227,34 @@ namespace big
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
|
||||
components::small_text("WARP_TIME"_T.data());
|
||||
|
||||
components::button("PLUS_1_MINUTE"_T, [] {
|
||||
toxic::warp_time_forward_all(60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_5_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(5 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_48_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(48 * 60 * 1000);
|
||||
});
|
||||
|
||||
components::button("PLUS_96_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(96 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_200_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(200 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("STOP_TIME"_T, [] {
|
||||
toxic::set_time_all(INT_MAX - 3000);
|
||||
});
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("STOP_TIME_DESC"_T.data());
|
||||
|
||||
ImGui::EndGroup();
|
||||
}
|
||||
|
||||
@ -441,53 +473,21 @@ namespace big
|
||||
true,
|
||||
"Teleport");
|
||||
|
||||
ImGui::EndGroup();
|
||||
|
||||
|
||||
components::command_button<"sextall">({}, "Send Sexts");
|
||||
ImGui::SameLine();
|
||||
components::command_button<"fakebanall">({}, "Send Fake Ban Messages");
|
||||
|
||||
components::small_text("WARP_TIME"_T.data());
|
||||
|
||||
components::button("PLUS_1_MINUTE"_T, [] {
|
||||
toxic::warp_time_forward_all(60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_5_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(5 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_48_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(48 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_96_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(96 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("PLUS_200_MINUTES"_T, [] {
|
||||
toxic::warp_time_forward_all(200 * 60 * 1000);
|
||||
});
|
||||
ImGui::SameLine();
|
||||
components::button("STOP_TIME"_T, [] {
|
||||
toxic::set_time_all(INT_MAX - 3000);
|
||||
});
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("STOP_TIME_DESC"_T.data());
|
||||
|
||||
components::sub_title("SCRIPT_HOST_FEATURES"_T);
|
||||
ImGui::Checkbox("DISABLE_CEO_MONEY"_T.data(), &g.session.block_ceo_money);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("DISABLE_CEO_MONEY_DESC"_T.data());
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox("RANDOMIZE_CEO_COLORS"_T.data(), &g.session.randomize_ceo_colors);
|
||||
ImGui::Checkbox("Block Jobs", &g.session.block_jobs);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Prevents remote players from starting jobs while in your session");
|
||||
|
||||
ImGui::Checkbox("RANDOMIZE_CEO_COLORS"_T.data(), &g.session.randomize_ceo_colors);
|
||||
ImGui::SameLine();
|
||||
components::script_patch_checkbox("Block Muggers", &g.session.block_muggers, "For the entire session");
|
||||
ImGui::SameLine();
|
||||
|
||||
components::script_patch_checkbox("Block CEO Raids", &g.session.block_ceo_raids, "For the entire session");
|
||||
|
||||
ImGui::EndGroup();
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ namespace big
|
||||
{
|
||||
ImGui::SetWindowSize({0.f, (float)*g_pointers->m_gta.m_resolution_y}, ImGuiCond_Always);
|
||||
|
||||
|
||||
ImGui::SeparatorText("MERRYWEATHER"_T.data());
|
||||
|
||||
components::button("MW_AMMO_DROP"_T, [] {
|
||||
@ -29,7 +30,30 @@ namespace big
|
||||
mobile::merry_weather::request_airstrike();
|
||||
});
|
||||
|
||||
|
||||
|
||||
ImGui::SeparatorText("CEO_ABILITIES"_T.data());
|
||||
|
||||
components::button("CEO_BULLSHARK"_T, [] {
|
||||
mobile::ceo_abilities::request_bullshark_testosterone();
|
||||
});
|
||||
|
||||
components::command_button<"ballisticarmor">();
|
||||
|
||||
|
||||
ImGui::SeparatorText("Services");
|
||||
|
||||
components::command_button<"avenger">();
|
||||
components::command_button<"kosatka">();
|
||||
components::command_button<"moc">();
|
||||
components::command_button<"terrorbyte">();
|
||||
components::command_button<"acidlab">();
|
||||
components::command_button<"acidbike">();
|
||||
|
||||
ImGui::SeparatorText("Miscellaneous");
|
||||
|
||||
components::command_button<"taxi">();
|
||||
|
||||
|
||||
ImGui::SeparatorText("MORS_MUTUAL"_T.data());
|
||||
|
||||
components::button("MORS_FIX_ALL"_T, [] {
|
||||
@ -39,13 +63,5 @@ namespace big
|
||||
std::make_format_args(amount_fixed,
|
||||
amount_fixed == 1 ? "VEHICLE_FIX_HAS"_T.data() : "VEHICLE_FIX_HAVE"_T.data())));
|
||||
});
|
||||
|
||||
ImGui::SeparatorText("CEO_ABILITIES"_T.data());
|
||||
|
||||
components::button("CEO_BULLSHARK"_T, [] {
|
||||
mobile::ceo_abilities::request_bullshark_testosterone();
|
||||
});
|
||||
|
||||
components::command_button<"ballisticarmor">();
|
||||
}
|
||||
}
|
@ -7,6 +7,8 @@
|
||||
#include "util/scripts.hpp"
|
||||
#include "views/view.hpp"
|
||||
|
||||
#include <script/globals/GPBD_FM_3.hpp>
|
||||
|
||||
namespace big
|
||||
{
|
||||
void view::self()
|
||||
@ -29,6 +31,8 @@ namespace big
|
||||
|
||||
components::command_checkbox<"godmode">();
|
||||
components::command_checkbox<"otr">();
|
||||
if (g.self.off_radar && scr_globals::gpbd_fm_3.as<GPBD_FM_3*>()->Entries[self::id].BossGoon.Boss == self::id)
|
||||
components::command_checkbox<"ghostorg">();
|
||||
components::command_checkbox<"freecam">();
|
||||
components::command_checkbox<"nophone">();
|
||||
components::command_checkbox<"infoxy">();
|
||||
@ -36,7 +40,6 @@ namespace big
|
||||
components::command_checkbox<"invis">();
|
||||
if (g.self.invisibility)
|
||||
components::command_checkbox<"localvis">(); // TODO: does nothing in SP
|
||||
components::command_checkbox<"nocollision">();
|
||||
|
||||
ImGui::EndGroup();
|
||||
ImGui::SameLine();
|
||||
@ -51,6 +54,7 @@ namespace big
|
||||
components::command_checkbox<"beastjump">();
|
||||
if (!g.self.beast_jump)
|
||||
components::command_checkbox<"superjump">();
|
||||
components::command_checkbox<"nocollision">();
|
||||
|
||||
ImGui::EndGroup();
|
||||
ImGui::SameLine();
|
||||
|
Reference in New Issue
Block a user