SA-MP Forums Archive
[Include] GZ Shapes - gang zone shapes on the map - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] GZ Shapes - gang zone shapes on the map (/showthread.php?tid=644449)

Pages: 1 2


Re: GZ Shapes - gang zone shapes on the map - dani18 - 19.05.2018

Incredible for a map of battlegrounds.


Re: GZ Shapes - gang zone shapes on the map - Sasino97 - 08.06.2018

Do you think is it possible to use this to create a wanted level system similar to that of GTA IV and GTA V, or would that exceed the limit?
What I mean is that, since each player would only need to see his own circle, will the system only count his text draws, or will it count everyone's text draws?


Re: GZ Shapes - gang zone shapes on the map - Verc - 08.06.2018

What textdraw? This doesn't use any textdraw at all
.


Re: GZ Shapes - gang zone shapes on the map - Sasino97 - 15.06.2018

Quote:
Originally Posted by Verc
Посмотреть сообщение
What textdraw? This doesn't use any textdraw at all
.
Sorry, I meant GangZone limit.


Re: GZ Shapes - gang zone shapes on the map - RIDE2DAY - 15.06.2018

Quote:
Originally Posted by Sasino97
Посмотреть сообщение
Do you think is it possible to use this to create a wanted level system similar to that of GTA IV and GTA V, or would that exceed the limit?
What I mean is that, since each player would only need to see his own circle, will the system only count his text draws, or will it count everyone's text draws?
There is no way to use "per player gang zones", so the limit is 1024. You could do that, but probably you won't be able to display more than 10 - 15 circles at once. The GTA V style would be way better as it would use less gang zones.

On the other hand, you would have to update the shapes really quick in order to get a smooth animation on the radar, in my opinion this isn't a good idea.

Kind regards.


Re: GZ Shapes - gang zone shapes on the map - Kontrol - 17.09.2018

Great awesome work!!!


Re: GZ Shapes - gang zone shapes on the map - Kontrol - 26.09.2018

Is there any way to detect if the player is outside the circle?


Re: GZ Shapes - gang zone shapes on the map - NaS - 27.09.2018

Quote:
Originally Posted by Kontrol
Посмотреть сообщение
Is there any way to detect if the player is outside the circle?
Dynamic area with the size of the Gang Zone, or simply get the distance to the center of the circle...


Re: GZ Shapes - gang zone shapes on the map - Chaprnks - 07.10.2018

Quote:
Originally Posted by RIDE2DAY
Посмотреть сообщение
Currently you can download the ALS version only, I'll add a YSI one soon. If you don't know what YSI is, just ignore this comment.
Here ya go

GZ_ShapesYHOOKS.inc
Код:
http://cloud.gta.sh/index.php/s/bfMPLnEXc7PtNCS
Код:
https://transfer.sh/ddoMl/GZ_ShapesYHOOKS.inc
Код:
https://puu.sh/BHggn/7e946cd378.inc



Re: GZ Shapes - gang zone shapes on the map - RIDE2DAY - 11.03.2019

I've added a YSI version.
The code has been revised and improved a little bit for the YSI version. Now the include tracks the gang zones created/destroyed in order to know how many gang zones are still available.
There is a new function called GetGangZonesAvailable() which returns that, the amount of free gang zones. Please note that you must include this script before any other include which handles gang zones. If you include this script in your gamemode and you create gang zones in a filterscript, this include won't detect that.

These changes are pending for the ALS version.


Re: GZ Shapes - gang zone shapes on the map - N3cromancer - 11.03.2019

Awesome job.