How I Can Make Gangs territorys Like San Andreas : (https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWZPiO1S.jpg&hash=2c287cc99a1b292e9a6cade971841f58b3172f3f)
With 2D coordinates, then check if the player is in a defined territory using geometry.
He probably means colored radar portions which is not possible right now
Quote from: Doom_Kill3R on Mar 03, 2017, 02:20 PMHe probably means colored radar portions which is not possible right now
LCS map over VC's map. Custom radars are there. The problem is that they're static, and if you update them, players will need to download the whole map again( 64 images )
Quote from: KAKAN on Mar 03, 2017, 02:40 PMQuote from: Doom_Kill3R on Mar 03, 2017, 02:20 PMHe probably means colored radar portions which is not possible right now
LCS map over VC's map. Custom radars are there. The problem is that they're static, and if you update them, players will need to download the whole map again( 64 images )
And it would be great if you could update the radars from the server with a function
Is there any dimension limit on custom Map Markers?
If not, you could create a big 50% Opacity colored square block and CreateMarker it anywhere. Though, I think it will probably hide player blips near it.
Quote from: aXXo on Mar 03, 2017, 08:30 PMIs there any dimension limit on custom Map Markers?
If not, you could create a big 50% Opacity colored square block and CreateMarker it anywhere. Though, I think it will probably hide player blips near it.
square blocks will rotate on the radar as any markers...
Quote from: vito on Mar 03, 2017, 09:10 PMsquare blocks will rotate on the radar as any markers...
+ there is a limit for marker's size.
So it's imposible to create one big square.
@Sebastian, Can you tell me how to increase marker size?
Create your custom radar using GUI functions and some maths. Simple. You may want to use sprites, and 1 window, and to hide the radar.
Quote from: vitogta on Feb 11, 2018, 06:02 AMQuote from: Athanatos on Feb 10, 2018, 02:49 PMCreate your custom radar using GUI functions and some maths. Simple. You may want to use sprites, and 1 window, and to hide the radar.
we can't to cut/clip gui element by mask currently as i know.
so at this moment it could be as a global map only, not a radar.
Use a square window. For a sphere mask, not possible now.
Quote from: Athanatos(^_^) on Feb 11, 2018, 01:35 PMQuote from: vitogta on Feb 11, 2018, 06:02 AMQuote from: Athanatos on Feb 10, 2018, 02:49 PMCreate your custom radar using GUI functions and some maths. Simple. You may want to use sprites, and 1 window, and to hide the radar.
we can't to cut/clip gui element by mask currently as i know.
so at this moment it could be as a global map only, not a radar.
Use a square window. For a sphere mask, not possible now.
How did you clipped sprite (image) in window? Show the code please, I have tried but failed.
Quote from: vitonoob on Apr 01, 2018, 06:11 PMQuote from: Athanatos(^_^) on Feb 11, 2018, 01:35 PMQuote from: vitogta on Feb 11, 2018, 06:02 AMQuote from: Athanatos on Feb 10, 2018, 02:49 PMCreate your custom radar using GUI functions and some maths. Simple. You may want to use sprites, and 1 window, and to hide the radar.
we can't to cut/clip gui element by mask currently as i know.
so at this moment it could be as a global map only, not a radar.
Use a square window. For a sphere mask, not possible now.
How did you clipped sprite (image) in window? Show the code please, I have tried but failed.
use ::<the radar window>.AddChild(sprite); to put the sprite inside the window. Then move it when the player coordinates change. This method requires some maths.
Math is not a problem. Especially 2d. But methods.
Window is not hiding overflow. Part of image located outside window and not clipped (position of image is VectorScreen(-32,-32) for example). Can you post the code with clipping image?
Tbh that was an idea. I don't have any code. Welp in my mind it works as I said.
Quote from: Athanatos(^_^) on Apr 02, 2018, 08:08 PMTbh that was an idea. I don't have any code. Welp in my mind it works as I said.
Unfortunately it not works in the code.