fea(PlayerInfo): Show wanted level and if player pad has god

This commit is contained in:
Yimura 2022-01-05 22:14:44 +01:00
parent d3c5ac2d8a
commit b357aaac69
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -23,8 +23,10 @@ namespace big
ImGui::Separator();
ImGui::Text("Wanted Level: %d", player_info->m_wanted_level);
ImGui::Text("Player God Mode: %s", player_info->m_ped->m_godmode ? "Yes" : "No");
ImGui::Text("Vehicle God Mode: %s",
player_info->m_ped->m_vehicle == nullptr ? "No Car Detected" :
player_info->m_ped->m_vehicle == nullptr ? "No vehicle detected" :
player_info->m_ped->m_vehicle->m_godmode ? "Yes" : "No"
);