SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 19/05/2018, 01:30 PM   #21
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,692
Reputation: 484
Default Re: GZ Shapes - gang zone shapes on the map

Alright, I have created a gang-shape zone for safe zone (Circumferences Type), a gang-shape zone for radiation (empty circle type) and a safe zone (Dyanmic Circle created by Streamer to detect if player is inside/outside the safe zone).

Now how do I detect if the player is inside/outside the radiation?
__________________


JaKe Elite is offline   Reply With Quote
Old 19/05/2018, 02:46 PM   #22
dani18
Big Clucker
 
dani18's Avatar
 
Join Date: Dec 2017
Posts: 115
Reputation: 14
Default Re: GZ Shapes - gang zone shapes on the map

Incredible for a map of battlegrounds.
__________________
RIP X
dani18 is offline   Reply With Quote
Old 08/06/2018, 03:25 PM   #23
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,440
Reputation: 106
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?
__________________
Desktop, Web, Mobile and Game Developer
  • SA-MP Game Modes and Filter Scripts (PAWN, SQL) (8 years experience)
  • Windows Applications (WPF, UWP)
  • Android Applications (Java Android SDK, Xamarin)
  • Web Design and Development (Wordpress, ASP.NET MVC, PHP, SQL)
  • Game Development (Unity3D, GameMaker Studio, LibGDX)
sasinosoft@gmail.com
I hope I don't get banned for using gmail, lol
Sasino97 is offline   Reply With Quote
Old 08/06/2018, 04:01 PM   #24
Verc
Big Clucker
 
Verc's Avatar
 
Join Date: Apr 2018
Location: 🇯🇵
Posts: 173
Reputation: 29
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   #25
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,440
Reputation: 106
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.
__________________
Desktop, Web, Mobile and Game Developer
  • SA-MP Game Modes and Filter Scripts (PAWN, SQL) (8 years experience)
  • Windows Applications (WPF, UWP)
  • Android Applications (Java Android SDK, Xamarin)
  • Web Design and Development (Wordpress, ASP.NET MVC, PHP, SQL)
  • Game Development (Unity3D, GameMaker Studio, LibGDX)
sasinosoft@gmail.com
I hope I don't get banned for using gmail, lol
Sasino97 is offline   Reply With Quote
Old 15/06/2018, 11:50 AM   #26
RIDE2DAY
Huge Clucker
 
RIDE2DAY's Avatar
 
Join Date: Jul 2015
Location: Modena, Italy
Posts: 219
Reputation: 375
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   #27
Kontrol
Huge Clucker
 
Join Date: Jan 2012
Location: British Solider
Posts: 213
Reputation: 24
Default Re: GZ Shapes - gang zone shapes on the map

Great awesome work!!!
__________________

Follow us on ********. Get involved.
_________________________________________________
Maximum Stunting:
95.211.180.224:7833

Last edited by Kontrol; 26/09/2018 at 09:01 PM.
Kontrol is offline   Reply With Quote
Old 26/09/2018, 09:00 PM   #28
Kontrol
Huge Clucker
 
Join Date: Jan 2012
Location: British Solider
Posts: 213
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?
__________________

Follow us on ********. Get involved.
_________________________________________________
Maximum Stunting:
95.211.180.224:7833
Kontrol is offline   Reply With Quote
Old 27/09/2018, 08:02 PM   #29
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Posts: 1,584
Reputation: 466
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 online now   Reply With Quote
Old 07/10/2018, 07:28 PM   #30
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 741
Reputation: 64
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
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 10:46 AM.


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