mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-29 11:13:19 +08:00

* Complete player and network UI redesign, meant to show all features instead of stuffing them into tiny boxes * Added option to delete player vehicles * Better clone player (now clones head blend too) * Better host token spoofing, with an option to enter your own * Better host token spoofing detection * Better desync kick prot detections * A script blocker for the entire session (per-player options will be added later) * Added option to spoof data/DLC hashes * Logging framework that allows developers to easily debug false positives * Major protection improvements
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
#include "util/teleport.hpp"
|
|
#include "util/toxic.hpp"
|
|
#include "views/view.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void view::player_kick()
|
|
{
|
|
ImGui::SeparatorText("KICKS"_T.data());
|
|
|
|
if (!g_player_service->get_self()->is_host())
|
|
ImGui::Text("VIEW_PLAYER_KICK_HOST_AND_BREAKUP_KICK_REQUIRE_SESSION_HOST"_T.data());
|
|
|
|
ImGui::BeginDisabled(!g_player_service->get_self()->is_host());
|
|
components::player_command_button<"hostkick">(g_player_service->get_selected());
|
|
ImGui::SameLine();
|
|
components::player_command_button<"breakup">(g_player_service->get_selected());
|
|
ImGui::EndDisabled();
|
|
ImGui::SameLine();
|
|
|
|
components::command_checkbox<"breakupcheating">();
|
|
|
|
components::player_command_button<"smartkick">(g_player_service->get_selected());
|
|
ImGui::SameLine();
|
|
components::player_command_button<"oomkick">(g_player_service->get_selected());
|
|
ImGui::SameLine();
|
|
components::player_command_button<"shkick">(g_player_service->get_selected());
|
|
ImGui::SameLine();
|
|
components::player_command_button<"endkick">(g_player_service->get_selected());
|
|
ImGui::SameLine();
|
|
components::player_command_button<"desync">(g_player_service->get_selected());
|
|
}
|
|
}
|