From 47581166b4dda6ff44f079904677fe197606ad9c Mon Sep 17 00:00:00 2001 From: hydrant Date: Sat, 27 Mar 2021 16:43:58 +0100 Subject: [PATCH] test --- ReallifeGamemode.Client/Gui/blips.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index 4020d0c5..ae667c86 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -17,16 +17,15 @@ export default function playerBlips() { mp.gui.chat.push("Color : " + color); - entity.createBlip(1); - - var blip: BlipMp; - + entity.createBlip(1); mp.gui.chat.push(parseInt(entity.blip) == 0 ? "Blip was not created" : "Blip was created"); mp.gui.chat.push("entity.blip is actually " + entity.blip); var blip = mp.blips.at(entity.blip); + blip.dimension = entityMp.dimension; + mp.gui.chat.push("1 -" + blip.getAlpha() + " 2- " + blip.doesExist() + " 3-" + blip.dimension + " 4-" + entityMp.dimension); entity.setBlipColor(isNaN(color) ? 0 : color);