예제 #1
0
 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);
 }
예제 #3
0
 public Blip()
 {
     currentColor = BlipColor.Default;
     currentIcon  = BlipIcon.Misc_Destination;
 }
예제 #4
0
파일: Blip.cs 프로젝트: Debug-/gtadotnet
 public Blip()
 {
     currentColor = BlipColor.Default;
     currentIcon = BlipIcon.Misc_Destination;
 }
예제 #5
0
파일: Job.cs 프로젝트: TylerEspo/JobsV
 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;
 }
예제 #6
0
 public void AddBlip(BlipColor color)
 {
     blip = World.CreateBlip(Position);
     blip.Color = color;
 }
예제 #7
0
 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);
 }