fix ClotheShop

This commit is contained in:
Siga
2020-03-23 19:08:52 +01:00
parent 9d08605bf1
commit 4875e33bf5
2 changed files with 5 additions and 1 deletions

View File

@@ -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);