zombienation Posted December 11, 2011 Share Posted December 11, 2011 hello, i have bin searching for how i can change my map icons to the way they only shows on the radar when u get closer to them, now they are always on on the radar, and you cant see much anymore on the radar, i'll put an example of 1 map icon code, can somebody please show me an example with that code of the right code for what i want? thanks loop = createBlip ( -1338, -2075, 23, 37, 0, 1, 255, 0, 500, getRootElement () ) Link to comment
Evil-Cod3r Posted December 11, 2011 Share Posted December 11, 2011 You Have to desing a icon with any photo Program like PhotoShop and use this https://wiki.multitheftauto.com/wiki/Gui ... taticImage Link to comment
zombienation Posted December 11, 2011 Author Share Posted December 11, 2011 You Have to desing a icon with any photo Program like PhotoShop and use thishttps://wiki.multitheftauto.com/wiki/Gui ... taticImage no i have to change something in the code of the map icon, do you know what? Link to comment
zombienation Posted December 11, 2011 Author Share Posted December 11, 2011 No Man sorry no problem, thx anyway Link to comment
Castillo Posted December 11, 2011 Share Posted December 11, 2011 If you want to create custom blips, then use this resource: https://community.multitheftauto.com/index.php?p= ... ils&id=960 Link to comment
zombienation Posted December 12, 2011 Author Share Posted December 12, 2011 If you want to create custom blips, then use this resource: https://community.multitheftauto.com/index.php?p= ... ils&id=960 Thank you, I have downloaded the resource but i dont know how to work with it Isnt it possible to show me an example ith the code i gave when i made this topic please? I prefer working like that so i always have to add it in the codes.. Link to comment
Evil-Cod3r Posted December 12, 2011 Share Posted December 12, 2011 Press F11 and and see what happen Link to comment
zombienation Posted December 12, 2011 Author Share Posted December 12, 2011 Press F11 and and see what happen When i did that nothing different then just the map opend. but ill try again quick Link to comment
zombienation Posted December 12, 2011 Author Share Posted December 12, 2011 Press F11 and and see what happen And again nothing happen can u show me how to do it manually in the script? or do u know why customblips is doing no change for me when i press f11? Link to comment
Castillo Posted December 12, 2011 Share Posted December 12, 2011 Press F11 and and see what happen That's just a BIG USELESS reply. @zombienation: Take a look here: https://wiki.multitheftauto.com/wiki/Res ... ustomblips Link to comment
zombienation Posted December 13, 2011 Author Share Posted December 13, 2011 Press F11 and and see what happen That's just a BIG USELESS reply. @zombienation: Take a look here: https://wiki.multitheftauto.com/wiki/Res ... ustomblips Thanks i will take a look at it Link to comment
zombienation Posted December 13, 2011 Author Share Posted December 13, 2011 You're welcome . I'm sorry but i feel stupid i must do it wrong the whole time cuz no icons showing on the map I do have a back up of my original icon script but i rly prefer to learn the old way, Could you or anybody alse please show me how to do this right with this code as example? Sorry and thank you. loop = createBlip ( -1338, -2075, 23, 37, 0, 1, 255, 0, 500, getRootElement () ) Link to comment
Castillo Posted December 14, 2011 Share Posted December 14, 2011 -- client side: exports.customblips:createCustomBlip ( -1338, -2075, 23, 37, "myBlipImage.png", 500 ) Link to comment
zombienation Posted December 14, 2011 Author Share Posted December 14, 2011 -- client side: exports.customblips:createCustomBlip ( -1338, -2075, 23, 37, "myBlipImage.png", 500 ) Thank you solide, So when i use a normal blip id, i replace myblip.. with the id nr? And when saved it the map icon will be not available to see on the radar from far distance? Or is this just the code to change the map icon? Thanks man Link to comment
SnoopCat Posted December 14, 2011 Share Posted December 14, 2011 maybe he want the blip to show only when ur closer to them and not showing all the time , maybe he wants that only.... Link to comment
Castillo Posted December 14, 2011 Share Posted December 14, 2011 -- client side: exports.customblips:createCustomBlip ( -1338, -2075, 23, 37, "myBlipImage.png", 500 ) Thank you solide, So when i use a normal blip id, i replace myblip.. with the id nr? And when saved it the map icon will be not available to see on the radar from far distance? Or is this just the code to change the map icon? Thanks man What...? to create a custom icon just use a IMAGE file, what's the point of using the normal blips if you want custom? Link to comment
zombienation Posted December 14, 2011 Author Share Posted December 14, 2011 -- client side: exports.customblips:createCustomBlip ( -1338, -2075, 23, 37, "myBlipImage.png", 500 ) Thank you solide, So when i use a normal blip id, i replace myblip.. with the id nr? And when saved it the map icon will be not available to see on the radar from far distance? Or is this just the code to change the map icon? Thanks man What...? to create a custom icon just use a IMAGE file, what's the point of using the normal blips if you want custom? No its true, i dont asked for custom blip, when u see my message i opened this topic with u can see its not for cusyom blip.. Thanks anyway solidsnake, im sorry if we missunderstand each other.. But could you show me how to how to make the icons visible on radar only when u are getting closer to that location please? Link to comment
Castillo Posted December 14, 2011 Share Posted December 14, 2011 It's easy, just change the visibleDistance. createBlip ( -1338, -2075, 23, 37, 2, 255, 255, 255, 0, 250 ) Link to comment
zombienation Posted December 14, 2011 Author Share Posted December 14, 2011 It's easy, just change the visibleDistance. createBlip ( -1338, -2075, 23, 37, 2, 255, 255, 255, 0, 250 ) Thanks solidanake i'll change it soon Link to comment
Xeno Posted December 14, 2011 Share Posted December 14, 2011 Or you can use https://wiki.multitheftauto.com/wiki/SetBlipVisibleDistance Link to comment
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