protected void HandleBlips(BlipColor color) { if(!targets.Any()) return; foreach (MyEntity target in targets) { target.AddBlip(color); } }
public StreamedPed(PedStreamer streamer, string model, string networkname, Vector3 position, float heading, BlipColor color) : base(streamer) { this.position = position; this.heading = heading; this.networkname = networkname; this.model = model; direction = Vector3.Zero; hasNetworkName = false; vehicle_id = 0; CurrentChatMessage = ""; animator = new PedAnimationManager(this); }
public Blip() { currentColor = BlipColor.Default; currentIcon = BlipIcon.Misc_Destination; }
public static Blip CreateBlip(Vector3 location, BlipSprite sprite, BlipColor color) { Blip blip = World.CreateBlip(location); blip.Sprite = sprite; blip.Color = color; blip.IsShortRange = true; return blip; }
public void AddBlip(BlipColor color) { blip = World.CreateBlip(Position); blip.Color = color; }
protected void HandleRoute(BlipColor color) { blip = World.CreateBlip(location); blip.Color = color; Function.Call(Hash.SET_BLIP_ROUTE, blip, true); Function.Call(Hash.SET_BLIP_ROUTE_COLOUR, blip, (int)color); }