l1qht Posted August 31, 2015 Share Posted August 31, 2015 Is there a function? Is there a list of all icons ? Can I use a custom icon? I hope someone knows the answers Greetings from Germany (: Link to comment Share on other sites More sharing options...
GeorgeZhang Posted August 31, 2015 Share Posted August 31, 2015 Since you use C#: on Coords Blip newBlip = World.CreateBlip(mycoords);newBlip.Sprite = BlipSprite.Airport; //this is icon style or on Entity myEntity.AddBlip();myEntity.CurrentBlip.Sprite = BlipSprite.Airport; //this is icon style depending on where you want to put it. Custom Blip: no, to my knowing not possible. Hope it helps:) l1qht 1 Link to comment Share on other sites More sharing options...
l1qht Posted August 31, 2015 Author Share Posted August 31, 2015 Many thanks for your response, Blip newBlip = World.CreateBlip(mycoords);newBlip.Sprite = BlipSprite.Airport; //this is icon style That's for Rage Plugin or? I use the Rage plugin too but i dont have the World.CreateBlip(); Do you have any idea why? Link to comment Share on other sites More sharing options...
alexguirre Posted August 31, 2015 Share Posted August 31, 2015 (edited) Many thanks for your response, Blip newBlip = World.CreateBlip(mycoords);newBlip.Sprite = BlipSprite.Airport; //this is icon style That's for Rage Plugin or? I use the Rage plugin too but i dont have the World.CreateBlip(); Do you have any idea why? You can look the RAGEPluginHook documentation: http://docs.ragepluginhook.net/html/6F260A01.htm It will be like this: Blip myBlip = new Blip(Vector3 position);// or to attach it to an entityBlip myBlip2 = new Blip(Entity entity); // then you can change the sprite, the color, the sizemyBlip.Sprite = BlipSprite.Enemy;myBlip.Color = Color.Red;// etc Edited August 31, 2015 by alexguirre l1qht 1 Link to comment Share on other sites More sharing options...
l1qht Posted August 31, 2015 Author Share Posted August 31, 2015 Works perfectly! Thank you Link to comment Share on other sites More sharing options...
bilago Posted August 31, 2015 Share Posted August 31, 2015 Anyone know how to rotate this blip set on a vehicle? I found this native: Function.Call(Hash.SET_BLIP_ROTATION, int); Setting this value to the vehicle heading causes the blip to spin out of control, so I assume that the int value passed increments the rotation instead of setting it... I then tried storing the last heading of the vehicle, and when I update the blip do lastHeading - currentHeading (keeping it within the bounds of 360 degrees and 0 degrees) but this always crashes the game. Link to comment Share on other sites More sharing options...
Reazer Posted July 29, 2017 Share Posted July 29, 2017 Is there a way to use a Custom Blip, not the ones in Blip.Sprites? Like an own Texture? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now