diff --git a/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts b/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts index 3657c32e..f7c8088c 100644 --- a/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts +++ b/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts @@ -178,13 +178,13 @@ export default function clotheShopList(globalData: IGlobalData) { var txData = getClothingName(key, item.ClotheId, gender); for (const x of txData) { - //var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : "Clothing item."); - var itemDescription = (key === 11 ? x.undershirt[1].GXT + " - " + x.id: "Clothing item."); + var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : "Clothing item."); + //var itemDescription = (key === 11 ? x.undershirt[1].GXT + " - " + x.id: "Clothing item."); if (itemDescription == "NULL") { itemDescription = "Clothing item."; } - //const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription); - const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id , itemDescription); + const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription); + //const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id , itemDescription); tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`); diff --git a/ReallifeGamemode.Client/Interaction/friseur/friseur.ts b/ReallifeGamemode.Client/Interaction/friseur/friseur.ts index 48331aea..ba64df88 100644 --- a/ReallifeGamemode.Client/Interaction/friseur/friseur.ts +++ b/ReallifeGamemode.Client/Interaction/friseur/friseur.ts @@ -116,8 +116,8 @@ export default function friseurShopList(globalData: IGlobalData) { if (itemDescription == "NULL") { itemDescription = "Clothing item."; } - //const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription); - const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id, itemDescription); + const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription); + //const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id, itemDescription); tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`);