diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index e9f2ad95..c465c548 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(100); + mp.events.add("entityStreamIn", async (entity) => { + await mp.game.waitAsync(100); if (entity.type === "player") { let color = parseInt(entity.getVariable("blipColor")); if (entity.blip == 0) entity.createBlip(1);