mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 16:52:30 +08:00
Some general fixes (#782)
* feat(protections): small updates * chore(CustomText): comment out TICK_LEFTCHEAT label override * feat(protections): make desync protections optional * fix(matchmaking): fix pool filter
This commit is contained in:
@ -11,7 +11,10 @@ namespace big
|
||||
auto const is_session_host = [] { return gta_util::get_network()->m_game_session_ptr->is_host(); };
|
||||
|
||||
components::player_command_button<"breakup">(g_player_service->get_selected());
|
||||
components::disable_unless(std::not_fn(is_session_host), [] {
|
||||
ImGui::SameLine();
|
||||
components::command_checkbox<"breakupcheating">();
|
||||
components::disable_unless(std::not_fn(is_session_host), []
|
||||
{
|
||||
components::player_command_button<"lckick">(g_player_service->get_selected());
|
||||
});
|
||||
components::player_command_button<"bailkick">(g_player_service->get_selected());
|
||||
@ -19,9 +22,6 @@ namespace big
|
||||
components::player_command_button<"oomkick">(g_player_service->get_selected());
|
||||
components::player_command_button<"shkick">(g_player_service->get_selected());
|
||||
components::player_command_button<"endkick">(g_player_service->get_selected());
|
||||
components::disable_unless(is_session_host, [] {
|
||||
components::player_command_button<"hostkick">(g_player_service->get_selected());
|
||||
});
|
||||
components::player_command_button<"desync">(g_player_service->get_selected());
|
||||
|
||||
ImGui::TreePop();
|
||||
|
Reference in New Issue
Block a user