mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
feat(PlayerInfoTab): Added player id and session host info
This commit is contained in:
parent
21a70be719
commit
92ee377669
@ -8,6 +8,11 @@ namespace big
|
||||
{
|
||||
ImGui::Checkbox("Spectate", &g.player.spectating);
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Text("Player ID: %d", g.selected_player.id);
|
||||
ImGui::Text("Session Host: %s", g.selected_player.net_player->is_host() ? "Yes" : "No");
|
||||
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user