diff --git a/ReallifeGamemode.Client/util/Gangwar.ts b/ReallifeGamemode.Client/util/Gangwar.ts index fa05f542..0b768f01 100644 --- a/ReallifeGamemode.Client/util/Gangwar.ts +++ b/ReallifeGamemode.Client/util/Gangwar.ts @@ -124,12 +124,19 @@ loadArea() { var self = this; + self.blip = mp.blips.new(5, self.vector[self.x, self.y, 0], { + alpha: 70, + color: self.color, + rotation: self.rotation, + name: self.name + }); + self.blip = mp.game.ui.addBlipForRadius(self.x, self.y, 1, self.range); - mp.game.invoke(Natives.SET_BLIP_SPRITE, self.blip, 5); + /*mp.game.invoke(Natives.SET_BLIP_SPRITE, self.blip, 5); mp.game.invoke(Natives.SET_BLIP_ALPHA, self.blip, 70); mp.game.invoke(Natives.SET_BLIP_COLOUR, self.blip, self.color); - + */ self._colshape = mp.colshapes.newCircle(self.x, self.y, self.range * 1.5); } render() { @@ -459,7 +466,6 @@ while (mp.game.invoke(Natives.DOES_BLIP_EXIST, last_blip)) { mp.game.invoke(Natives.SET_BLIP_SPRITE, last_blip, -1); - mp.game.invoke(Natives.REMOVE_BLIP, last_blip); mp.game.ui.removeBlip(last_blip); last_blip = mp.game.invoke(Natives.GET_NEXT_BLIP_INFO_ID, 5); x++;