Merge pull request #38 from The-Denno/gui_player_info
feat(PlayerInfo): Added vehicle god mode detection
This commit is contained in:
commit
e1872bcc00
@ -20,6 +20,15 @@ namespace big
|
||||
netPlayerData& netData = player_info->m_net_player_data;
|
||||
|
||||
ImGui::Text("Session Host: %s", net_player->is_host() ? "Yes" : "No");
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Text("Vehicle God Mode: %s",
|
||||
player_info->m_ped->m_vehicle == nullptr ? "No Car Detected" :
|
||||
player_info->m_ped->m_vehicle->m_godmode ? "Yes" : "No"
|
||||
);
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Text("Rockstar ID: %d", netData.m_rockstar_id);
|
||||
ImGui::Text("IP Address: %d.%d.%d.%d:%d", netData.m_external_ip.m_field1, netData.m_external_ip.m_field2, netData.m_external_ip.m_field3, netData.m_external_ip.m_field4, netData.m_external_port);
|
||||
|
Reference in New Issue
Block a user