fix ClotheShop
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user