From 852410d11a69827158402930461e8a9d668f9204 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 23 Jun 2019 22:11:39 +0200 Subject: [PATCH] dont show player blips on big map --- ReallifeGamemode.Client/Gui/blips.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index ce684bb4..f852b2e1 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -1,7 +1,8 @@ const Natives = { SET_BLIP_CATEGORY: "0x234CDD44D996FD9A", SHOW_HEADING_INDICATOR_ON_BLIP: "0x5FBCA48327B914DF", - SET_BLIP_AS_SHORT_RANGE: "0xBE8BE4FE60E27B72" + SET_BLIP_AS_SHORT_RANGE: "0xBE8BE4FE60E27B72", + SET_BLIP_DISPLAY: "0x9029B2F3DA924928" }; export default function playerBlips() { @@ -14,6 +15,7 @@ export default function playerBlips() { mp.game.invoke(Natives.SET_BLIP_CATEGORY, entity.blip, 7); mp.game.invoke(Natives.SHOW_HEADING_INDICATOR_ON_BLIP, entity.blip, true); mp.game.invoke(Natives.SET_BLIP_AS_SHORT_RANGE, entity.blip, true); + mp.game.invoke(Natives.SET_BLIP_DISPLAY, entity.blip, 8); } });