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:30 PM   #21
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,689
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, 03:46 PM   #22
dani18
Big Clucker
 
dani18's Avatar
 
Join Date: Dec 2017
Posts: 113
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, 04:25 PM   #23
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,423
Reputation: 120
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 .NET 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
Use this email - don't PM
Sasino97 is offline   Reply With Quote
Old 08/06/2018, 05:01 PM   #24
Verc
Big Clucker
 
Verc's Avatar
 
Join Date: Apr 2018
Location: 🇯🇵
Posts: 172
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, 12:31 PM   #25
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,423
Reputation: 120
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 .NET 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
Use this email - don't PM
Sasino97 is offline   Reply With Quote
Old 15/06/2018, 12:50 PM   #26
RIDE2DAY
Huge Clucker
 
RIDE2DAY's Avatar
 
Join Date: Jul 2015
Location: Modena, Italy
Posts: 220
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, 10:21 PM   #27
Kontrol
Huge Clucker
 
Join Date: Jan 2012
Location: Hull
Posts: 228
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 10:01 PM.
Kontrol is offline   Reply With Quote
Old 26/09/2018, 10:00 PM   #28
Kontrol
Huge Clucker
 
Join Date: Jan 2012
Location: Hull
Posts: 228
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, 09:02 PM   #29
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Posts: 1,614
Reputation: 500
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, 08:28 PM   #30
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 752
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 04:46 AM
Objects shapes, forms, sizes ScIrUsna Scripting Help 1 20/05/2016 11:38 AM
[AJUDA]Gang Zone DOminaveis ( o meu possui /gang criar) rene20 PortuguÍs/Portuguese 2 22/09/2010 06:55 PM
Textdraws with certain shapes? FreeSoul Help Archive 2 22/12/2009 05:19 PM


All times are GMT. The time now is 07:10 PM.


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