@ -12,9 +12,16 @@ namespace big
|
||||
return gta_util::get_network()->m_game_session_ptr->is_host();
|
||||
};
|
||||
|
||||
//components::player_command_button<"breakup">(g_player_service->get_selected());
|
||||
//ImGui::SameLine();
|
||||
//components::command_checkbox<"breakupcheating">();
|
||||
ImGui::Text("Host/breakup kick require Host");
|
||||
ImGui::BeginDisabled(!g_player_service->get_self()->is_host());
|
||||
|
||||
components::player_command_button<"hostkick">(g_player_service->get_selected());
|
||||
components::player_command_button<"breakup">(g_player_service->get_selected());
|
||||
|
||||
ImGui::EndDisabled();
|
||||
|
||||
ImGui::SameLine();
|
||||
components::command_checkbox<"breakupcheating">();
|
||||
|
||||
components::player_command_button<"bailkick">(g_player_service->get_selected());
|
||||
ImGui::SameLine();
|
||||
|
Reference in New Issue
Block a user