SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 19/05/2018, 02:46 PM   #21
dani18
Big Clucker
 
Join Date: Dec 2017
Posts: 100
Reputation: 14
Default Re: GZ Shapes - gang zone shapes on the map

Incredible for a map of battlegrounds.
dani18 is offline   Reply With Quote
Old 08/06/2018, 03:25 PM   #22
Sasino97
Banned
 
Join Date: Dec 2010
Location: Soon Banned...
Posts: 1,393
Reputation: 127
Default Re: GZ Shapes - gang zone shapes on the map

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?
Sasino97 is offline   Reply With Quote
Old 08/06/2018, 04:01 PM   #23
Verc
Banned
 
Join Date: Apr 2018
Location: 🇯🇵
Posts: 175
Reputation: 42
Default Re: GZ Shapes - gang zone shapes on the map

What textdraw? This doesn't use any textdraw at all
.
Verc is offline   Reply With Quote
Old 15/06/2018, 11:31 AM   #24
Sasino97
Banned
 
Join Date: Dec 2010
Location: Soon Banned...
Posts: 1,393
Reputation: 127
Default Re: GZ Shapes - gang zone shapes on the map

Quote:
Originally Posted by Verc View Post
What textdraw? This doesn't use any textdraw at all
.
Sorry, I meant GangZone limit.
Sasino97 is offline   Reply With Quote
Old 15/06/2018, 11:50 AM   #25
RIDE2DAY
Huge Clucker
 
RIDE2DAY's Avatar
 
Join Date: Jul 2015
Location: Modena, Italy
Posts: 212
Reputation: 381
Default Re: GZ Shapes - gang zone shapes on the map

Quote:
Originally Posted by Sasino97 View Post
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.
RIDE2DAY is offline   Reply With Quote
Old 17/09/2018, 09:21 PM   #26
Kontrol
Big Clucker
 
Join Date: Jan 2012
Location: Hull
Posts: 196
Reputation: 24
Default Re: GZ Shapes - gang zone shapes on the map

Great awesome work!!!
__________________
Realistic PUBG server. Currently needing testers.
Visit the website here: http://kontrolgaming.net
Join our discord channel here: https://discord.gg/Nn4dfFG

Last edited by Kontrol; 26/09/2018 at 09:01 PM.
Kontrol is offline   Reply With Quote
Old 26/09/2018, 09:00 PM   #27
Kontrol
Big Clucker
 
Join Date: Jan 2012
Location: Hull
Posts: 196
Reputation: 24
Default Re: GZ Shapes - gang zone shapes on the map

Is there any way to detect if the player is outside the circle?
__________________
Realistic PUBG server. Currently needing testers.
Visit the website here: http://kontrolgaming.net
Join our discord channel here: https://discord.gg/Nn4dfFG
Kontrol is offline   Reply With Quote
Old 27/09/2018, 08:02 PM   #28
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Location: 🇩🇪
Posts: 1,640
Reputation: 540
Default Re: GZ Shapes - gang zone shapes on the map

Quote:
Originally Posted by Kontrol View Post
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...
NaS is offline   Reply With Quote
Old 07/10/2018, 07:28 PM   #29
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 571
Reputation: 69
Default Re: GZ Shapes - gang zone shapes on the map

Quote:
Originally Posted by RIDE2DAY View Post
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
Code:
http://cloud.gta.sh/index.php/s/bfMPLnEXc7PtNCS
Code:
https://transfer.sh/ddoMl/GZ_ShapesYHOOKS.inc
Code:
https://puu.sh/BHggn/7e946cd378.inc
__________________
Chaprnks is offline   Reply With Quote
Old 11/03/2019, 02:25 AM   #30
RIDE2DAY
Huge Clucker
 
RIDE2DAY's Avatar
 
Join Date: Jul 2015
Location: Modena, Italy
Posts: 212
Reputation: 381
Default Re: GZ Shapes - gang zone shapes on the map

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.
RIDE2DAY is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a gang zone. No zone wars and capture MarkNelson Scripting Help 2 08/07/2016 03:46 AM
Objects shapes, forms, sizes ScIrUsna Scripting Help 1 20/05/2016 10:38 AM
[AJUDA]Gang Zone DOminaveis ( o meu possui /gang criar) rene20 PortuguÍs/Portuguese 2 22/09/2010 05:55 PM
Textdraws with certain shapes? FreeSoul Help Archive 2 22/12/2009 04:19 PM


All times are GMT. The time now is 06:34 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.