^iiEcoo'x_) Posted August 29, 2018 Posted August 29, 2018 How do I create a circular radar in the map? Replace the box with a circle.
WorthlessCynomys Posted August 29, 2018 Posted August 29, 2018 I'd wait for the next version of MTA where dxDrawCircle will come in. With that, easily. Now you can use dxLines to draw a circle. Now that uses a looot of dxLines, therefor using huge amounts of resources.
^iiEcoo'x_) Posted August 29, 2018 Author Posted August 29, 2018 8 minutes ago, WorthlessCynomys said: I'd wait for the next version of MTA where dxDrawCircle will come in. With that, easily. Now you can use dxLines to draw a circle. Now that uses a looot of dxLines, therefor using huge amounts of resources. like this :
WorthlessCynomys Posted August 29, 2018 Posted August 29, 2018 That's not what he needs. The other thing you can do is that you use an image as the frame.
^iiEcoo'x_) Posted August 29, 2018 Author Posted August 29, 2018 3 minutes ago, iMr.WiFi..! said: createColCircle But it does not appear on the map 2 minutes ago, WorthlessCynomys said: That's not what he needs. The other thing you can do is that you use an image as the frame. What functions do you need
WorthlessCynomys Posted August 29, 2018 Posted August 29, 2018 2 minutes ago, #_iMr,[E]coo said: But it does not appear on the map What functions do you need You can use dxDrawImage and a PNG image that has a circle in it and a transparent background. That'll do for now.
^iiEcoo'x_) Posted August 29, 2018 Author Posted August 29, 2018 4 minutes ago, WorthlessCynomys said: You can use dxDrawImage and a PNG image that has a circle in it and a transparent background. That'll do for now. The problem I do not need in the F11, I needed in the radar down the screen left
Berko Posted August 29, 2018 Posted August 29, 2018 (edited) CreateRadarArea Edited August 29, 2018 by Berko
WorthlessCynomys Posted August 29, 2018 Posted August 29, 2018 3 minutes ago, #_iMr,[E]coo said: The problem I do not need in the F11, I needed in the radar down the screen left You can do that too with what I recommended.
JeViCo Posted August 29, 2018 Posted August 29, 2018 (edited) wtf =D those answers... @#_iMr,[E]coo use dxDrawImageSection + mask shader ( link ) <- radar to draw radar areas use dxDrawCircle. To make circle areas use createColCircle <- radar areas Edited August 29, 2018 by JeViCo 1
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