mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-01 03:53:03 +08:00
@ -4,7 +4,9 @@ namespace big
|
||||
{
|
||||
void view::player_vehicle()
|
||||
{
|
||||
if (ImGui::TreeNode("Vehicle"))
|
||||
ImGui::BeginGroup();
|
||||
components::sub_title("Vehicle");
|
||||
if (ImGui::ListBoxHeader("##veh", get_listbox_dimensions()))
|
||||
{
|
||||
components::player_command_button<"vehkick">(g_player_service->get_selected(), {});
|
||||
ImGui::SameLine();
|
||||
@ -38,7 +40,10 @@ namespace big
|
||||
ImGui::SameLine();
|
||||
components::player_command_button<"downgradeveh">(g_player_service->get_selected(), {});
|
||||
|
||||
ImGui::TreePop();
|
||||
components::player_command_button<"rcplayer">(g_player_service->get_selected());
|
||||
|
||||
ImGui::ListBoxFooter();
|
||||
}
|
||||
ImGui::EndGroup();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user