Greenie0101 Posted August 19, 2012 Share Posted August 19, 2012 Hey I am really interested in making a custom minimap cos im sick of the GTA one but i want one which works for everyone on the server. What functions can i use? I havent got any script as i dont know where to start on this i thinking of using showPlayerHudComponent to hide the minimap that is there and then make the new map on a GUI. How do i do this? Link to comment
ASM Posted August 19, 2012 Share Posted August 19, 2012 The best solution to create a new radar is a shader but you can use dxDrawImage() for a rectangle radar. Link to comment
Greenie0101 Posted August 19, 2012 Author Share Posted August 19, 2012 The best solution to create a new radar is a shader but you can use dxDrawImage() for a rectangle radar. ok i sort of get what you mean but i've never used dxDrawImage. How can i make it move with the player? I imagine ill need to use dxDrawImageSection? Link to comment
ASM Posted August 19, 2012 Share Posted August 19, 2012 Just learn scripting at first than try to make harder things. Link to comment
toptional Posted August 19, 2012 Share Posted August 19, 2012 Just learn scripting at first than try to make harder things. i know him hes a pro scriptor so maybe just help..... Link to comment
Greenie0101 Posted August 19, 2012 Author Share Posted August 19, 2012 Just learn scripting at first than try to make harder things. I've been scripting for several months now, I've made about 50 scripts or more, am currently making my third gamemode and understand most things. I just haven't used this function before. Now can you please just help? Besides it's not just helping me. It's helping every other person wh googles 'mta sa custom minimap' Link to comment
50p Posted August 19, 2012 Share Posted August 19, 2012 I've started similar script myself some time ago but never got around to finish it. Here is a link if you're interested: http://scripteditor.beta.mtasa.com/arch ... inimap.zip There is a lot of trial and error when doing things like this. Oh, if I remember correctly drawing image section will tile the image, so if you go too far the image will tile, you will not see transparency at the edge of the image, it will repeat itself. Link to comment
Anderl Posted August 19, 2012 Share Posted August 19, 2012 Just learn scripting at first than try to make harder things. i know him hes a pro scriptor so maybe just help..... A professional scripter would not need to ask for help to understand how a function works, watching just wiki page about the function would be enough. It's not just because he did lots of scripts that he is pro. Link to comment
Greenie0101 Posted August 19, 2012 Author Share Posted August 19, 2012 Look shut up abot that. i never said i was professional, but i belive im good enough. just tell me how i can do this please Link to comment
Anderl Posted August 19, 2012 Share Posted August 19, 2012 Look shut up abot that. i never said i was professional, but i belive im good enough. just tell me how i can do this please Was not talking to you. Link to comment
toptional Posted August 19, 2012 Share Posted August 19, 2012 Look shut up abot that. i never said i was professional, but i belive im good enough. just tell me how i can do this please Was not talking to you. Hes a good scriptor and not even PROS know everything everyone need help! Link to comment
Anderl Posted August 19, 2012 Share Posted August 19, 2012 Look shut up abot that. i never said i was professional, but i belive im good enough. just tell me how i can do this please Was not talking to you. Hes a good scriptor and not even PROS know everything everyone need help! As I said, pro scripters would not need help in such things. Anyway, this is over otherwise it will become a flame war. Link to comment
Castillo Posted August 19, 2012 Share Posted August 19, 2012 Mind you guys stop with the off-topic? Link to comment
Greenie0101 Posted August 20, 2012 Author Share Posted August 20, 2012 Can someone just help me lol Link to comment
Castillo Posted August 20, 2012 Share Posted August 20, 2012 Have you checked 50p's script? Link to comment
Greenie0101 Posted August 20, 2012 Author Share Posted August 20, 2012 Have you checked 50p's script? Link? Link to comment
Castillo Posted August 20, 2012 Share Posted August 20, 2012 I've started similar script myself some time ago but never got around to finish it. Here is a link if you're interested: http://scripteditor.beta.mtasa.com/arch ... inimap.zip There is a lot of trial and error when doing things like this. Oh, if I remember correctly drawing image section will tile the image, so if you go too far the image will tile, you will not see transparency at the edge of the image, it will repeat itself. Link to comment
Greenie0101 Posted August 20, 2012 Author Share Posted August 20, 2012 I've started similar script myself some time ago but never got around to finish it. Here is a link if you're interested: http://scripteditor.beta.mtasa.com/arch ... inimap.zip There is a lot of trial and error when doing things like this. Oh, if I remember correctly drawing image section will tile the image, so if you go too far the image will tile, you will not see transparency at the edge of the image, it will repeat itself.thanksNEW COMMENT (didn't want to double post) I tried 50p's script, like it. Mind if i edit it tho? (replace the screenshot with a map and try to make it work?) Link to comment
BlackOpium Posted January 23, 2018 Share Posted January 23, 2018 Woow you helped us soo much, .. thanks a lot! 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