mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 03:43:15 +08:00
fix(transactions): fix broken GTA+ logic
This commit is contained in:
@@ -288,7 +288,7 @@ namespace YimMenu::Submenus
|
||||
|
||||
static int GetItemPrice(rage::netCatalogBaseItem* item)
|
||||
{
|
||||
if (item->m_MembershipPrice != -1 || !HasGTAPlusMembership())
|
||||
if (item->m_MembershipPrice == -1 || !HasGTAPlusMembership())
|
||||
return item->m_Price;
|
||||
else
|
||||
return item->m_MembershipPrice;
|
||||
|
||||
@@ -96,10 +96,7 @@ namespace YimMenu
|
||||
auto ped = Self::GetPed();
|
||||
|
||||
if (!ped)
|
||||
{
|
||||
ImGui::TextDisabled("Player not found");
|
||||
return;
|
||||
}
|
||||
return ImGui::TextDisabled("Player ped not found");
|
||||
|
||||
// Create two columns layout
|
||||
const float windowWidth = ImGui::GetContentRegionAvail().x;
|
||||
|
||||
Reference in New Issue
Block a user