From 3dbd7975f273d3a33065b82e0c55589cb19418f7 Mon Sep 17 00:00:00 2001 From: kookroach <62265045+kookroach@users.noreply.github.com> Date: Sun, 4 Apr 2021 23:08:29 +0200 Subject: [PATCH] Push --- ReallifeGamemode.Client/Gui/blips.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index 7aa0cb81..12a415df 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -7,7 +7,8 @@ export default function playerBlips() { - mp.events.add("entityStreamIn", (entity) => { + mp.events.add("entityStreamIn", (entity) => { + mp.game.wait(500); if (entity.type === "player") { var entityMp = entity; let color = parseInt(entity.getVariable("blipColor")); @@ -26,8 +27,7 @@ export default function playerBlips() { mp.events.add("entityStreamOut", (entity) => { if (entity.type === "player") { - var blip = entity.blip - blip.destroy(); + entity.blip = null; } });