From 4875e33bf5d090fbba23b0577d4fa28f48220393 Mon Sep 17 00:00:00 2001 From: Siga Date: Mon, 23 Mar 2020 19:08:52 +0100 Subject: [PATCH] fix ClotheShop --- ReallifeGamemode.Client/Gui/blips.ts | 1 - ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index a5e19042..5809ce1f 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -8,7 +8,6 @@ export default function playerBlips() { mp.events.add("entityStreamIn", (entity) => { if (entity.type === "player") { - mp.gui.chat.push(entity.name); let color = parseInt(entity.getVariable("blipColor")); if (entity.blip == 0) entity.createBlip(1); entity.setBlipColor(isNaN(color) ? 0 : color); diff --git a/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts b/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts index c3089c9d..dcbafe8f 100644 --- a/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts +++ b/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts @@ -87,6 +87,11 @@ export default function clotheShopList(globalData: GlobalData) { switch (key) { case 11: for (var i = 0; i < Object.keys(tops[ClotheId]).length; i++) { + if (gender) { + if (i = 0) + i++; + } + if (tops[ClotheId][i].Localized != "NULL") { for (var x = 0; x < Object.keys(comb.combination).length; x++) { if (comb.combination[x].Top == ClotheId) {