SA-MP Forums Archive
[FilterScript] Player-based capture zones - 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)
+--- Thread: [FilterScript] Player-based capture zones (/showthread.php?tid=562144)



Player-based capture zones - Kyance - 07.02.2015

tbh, this was supposed to be a tutorial, but i'm too lazy to make one.. sooo... here's a filterscript xD

Player-Based Capture Zones

Introduction & Features
I know there are some capture-zone scripts on the forums, but those (imo) are too hard to understand.
So, I tried creating a capture-zone 'system', which is easier to 'maintain'.

The script doesn't use checkpoints, but areas ( Streamer's "CreateDynamicRectangle", or w.e it was called ), and a text label to indicate the status of the area.

To add a capture-zone, all you have to do is:
  1. Create the gangzone (minx, miny, maxx, maxy)
  2. Get the coords for the 3D Text Label
  3. Increase count of 'MAX_ZONES' by 1 (or, by how many zones you've added)
  4. Add 1 line with the coords (I've given 5 examples, and a loooong tutorial in the script)
Notes
You can remove the 'zcmd' include, I forgot to remove it from testing
Do NOT add zones under the 'To_Fix_Bugs' zone!!

Video:
https://www.youtube.com/watch?v=045oVSOqrxM

Download link:
https://www.mediafire.com/?7xialghyx1y7wg7
or
http://pastebin.com/jVmk8XSu
Changelog:
Code:
>> 07/02/2015 - Version 1.0.0
* Initial release



Re: Player-based capture zones - Younes44 - 07.02.2015

lol good job dude D:


Re: Player-based capture zones - wahyumahadir - 13.02.2015

Wow Very nice dude (y)


Re: Player-based capture zones - HydraHumza - 13.02.2015

Really Nice <3
Really Awesome + Rep


Re: Player-based capture zones - Fantje - 02.03.2015

It don't works. I go to the place just like in your video and there is nothing?


Re: Player-based capture zones - Kyance - 02.03.2015

Quote:
Originally Posted by Fantje
View Post
It don't works. I go to the place just like in your video and there is nothing?
Did it load?


Re: Player-based capture zones - KayJ - 02.03.2015

That's what I was thinking for 2 months, lol