From cb68bcaf531d06872bd043ae841640ae8ff2a285 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 4 Apr 2021 23:56:35 +0200 Subject: [PATCH] try fix error --- ReallifeGamemode.Client/Gui/blips.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index 12a415df..54bb8e21 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -7,8 +7,8 @@ export default function playerBlips() { - mp.events.add("entityStreamIn", (entity) => { - mp.game.wait(500); + mp.events.add("entityStreamIn", async (entity) => { + await mp.game.waitAsync(500); if (entity.type === "player") { var entityMp = entity; let color = parseInt(entity.getVariable("blipColor"));