[FilterScript] SS_Gang System [SQLITE] By Sreyas
#1


SS Gang System SQLite
Dynamic gang system for SA-MP.This filterscript allows user to create custom gang,fight gang wars with other gangs and take over gang zones.The script available in both SQLITE and MySQL versions.This script undergone many tests by various server owners and scripters.If you found any bug or if you have any suggestions or improvements open an issue or make a pull request or report it here.
Commands

PHP Code:
*   /gcp        to enter gang control panel
*   /creategang to create new gang
*   /gangtag    to add tag to your gang
*   /gwar       to challenge other gang members for a gang war
*   /backup     to request backup
*   /gkick      to kick a member from gang
*   /setleader  to set a member to leader
*   /gmembers   to see whole members of gang
*   /top        to see top 10 gangs
*   /ginvite    to invite some to your gang
*   /accept     to accept an invitation
*   /decline    to decline an invitation
*   /gangcolor  to change your gang color
*   /lg         to leave the gang
*   /capture    to capture a gangzone
*   /createzone to create a gang zone(Rcon only)
*   /
removezone to remove a created zone(Rcon only)
*   /
zones      to show all gang zone and their details
*   /ghelp      to view all cmds 
Gallery










Latest Bug fixes

PHP Code:
Gang War logic has been re written now.Limit of one gangwar per time is removed.
Gang ownership logic has been modified.Now system checks for another leader if the one leader leaves the gang.
Added support for streamer.(See the custom settings)
Changed database schema.(Old db is no longer supported.Delete it before using upgraded one).
Minor bug fixed and optmisations
Custom Settings

PHP Code:
#define DEBUG (true)  // for debuging 
#define USE_STREAMER  (true)    //defining true uses streamer otherwise the script uses y_areas
#define MAX_GANGS                (50)
#define MAX_GZONES               (50)
#define MAX_GANG_WARS            (10) //Maximum number of gang wars at a time
#define ZONE_COLOR               (0xF3F0E596)
#define ZONE_LOCK_TIME           (10) //NOTE:The time should be given in seconds
#define ZONE_CAPTURE_TIME        (5)  //Same as above note
#define MAX_SCORE                (0)  //Maximum score to create a gang
#define ZONE_COLOR_OPAQUE_VALUE  (100)//Opaque value
#define CHAT_SYMBOL              '#'  //The prefix used for gang chat in game 
Plugins and Libraries

Building and Installing
PHP Code:
Compile SS_GANG_MAIN.pwn
Copy SS_GANG_MAIN.amx to filterscripts folder
Add SS_GANG_MAIN  to server.cfg 
Special Thanks
DOWNLOAD
  • Latest release (only SQLite version i may release MySQl version later if i get time)


Reply


Messages In This Thread
SS_Gang System - by SyS - 27.04.2016, 03:19
Re: SS_Gang System [SQLITE] By Sreyas - by Pavintharan - 27.04.2016, 03:21
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 27.04.2016, 07:07
Re: SS_Gang System [SQLITE] By Sreyas - by Amunra - 27.04.2016, 07:53
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 27.04.2016, 12:29
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker - 27.04.2016, 13:27
Re: SS_Gang System [SQLITE] By Sreyas - by oMa37 - 27.04.2016, 13:46
Re: SS_Gang System [SQLITE] By Sreyas - by Karan007 - 27.04.2016, 13:50
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 27.04.2016, 13:53
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker - 28.04.2016, 13:20
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 28.04.2016, 13:20
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker - 29.04.2016, 15:29
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 29.04.2016, 15:48
Re: SS_Gang System [SQLITE] By Sreyas - by Dice_ - 03.05.2016, 23:07
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 06.05.2016, 14:01
Re: SS_Gang System [SQLITE] By Sreyas - by Battlezone - 06.05.2016, 14:17
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 07.05.2016, 06:05
Re: SS_Gang System [SQLITE] By Sreyas - by oktokt1 - 07.05.2016, 16:01
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 08.05.2016, 13:51
Re: SS_Gang System [SQLITE] By Sreyas - by Radio - 08.05.2016, 13:53
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 08.05.2016, 14:10
Re: SS_Gang System [SQLITE] By Sreyas - by legendd - 08.05.2016, 15:44
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 08.05.2016, 15:45
Re: SS_Gang System [SQLITE] By Sreyas - by iSteve - 08.05.2016, 15:49
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 08.05.2016, 15:50
Re: SS_Gang System [SQLITE] By Sreyas - by thesuperuser - 11.05.2016, 14:32
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 11.05.2016, 15:12
Re: SS_Gang System [SQLITE] By Sreyas - by iSpy - 11.05.2016, 15:16
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 11.05.2016, 15:20
Re: SS_Gang System [SQLITE] By Sreyas - by CrunchxNoy - 11.06.2016, 15:06
Respuesta: SS_Gang System [SQLITE] By Sreyas - by DanyTovar - 11.06.2016, 20:25
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 12.06.2016, 10:09
Re: SS_Gang System [SQLITE] By Sreyas - by MBilal - 12.06.2016, 10:15
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 12.06.2016, 10:20
Re: SS_Gang System [SQLITE] By Sreyas - by 2k16 - 12.06.2016, 11:18
Re: SS_Gang System [SQLITE] By Sreyas - by gobay - 16.06.2016, 13:20
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 16.06.2016, 13:30
Re: SS_Gang System [SQLITE] By Sreyas - by DandyCorleone - 18.06.2016, 03:50
Re: SS_Gang System [SQLITE] By Sreyas - by DandyCorleone - 18.06.2016, 12:12
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 18.06.2016, 12:59
Re: SS_Gang System [SQLITE] By Sreyas - by gobay - 19.06.2016, 14:22
Re: SS_Gang System [SQLITE] By Sreyas - by gobay - 19.06.2016, 14:30
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 19.06.2016, 14:54
Re: SS_Gang System [SQLITE] By Sreyas - by gobay - 20.06.2016, 08:01
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 28.06.2016, 13:57
Re: SS_Gang System [SQLITE] By Sreyas - by brianvans089 - 29.06.2016, 07:22
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 29.06.2016, 15:19
Respuesta: SS_Gang System [SQLITE] By Sreyas - by BigSmokeBB - 03.07.2016, 20:49
Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by SyS - 04.07.2016, 01:56
Re: SS_Gang System [SQLITE] By Sreyas - by anandubiju - 04.07.2016, 16:05
Respuesta: SS_Gang System [SQLITE] By Sreyas - by BigSmokeBB - 04.07.2016, 21:45
Re: SS_Gang System [SQLITE] By Sreyas - by Elegy - 04.07.2016, 22:01
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 05.07.2016, 02:21
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 12.09.2016, 04:39
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker - 12.09.2016, 06:23
Re: SS_Gang System [SQLITE] By Sreyas - by markparker12 - 12.09.2016, 07:31
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 12.09.2016, 12:23
Re: SS_Gang System [SQLITE] By Sreyas - by Ultraz - 12.09.2016, 14:33
Re: SS_Gang System [SQLITE] By Sreyas - by MikeB - 18.11.2016, 00:04
Re: SS_Gang System [SQLITE] By Sreyas - by Logic_ - 18.11.2016, 04:33
Re: SS_Gang System [SQLITE] By Sreyas - by AndySedeyn - 18.11.2016, 04:45
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 18.11.2016, 11:19
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 19.11.2016, 09:26
Re: SS_Gang System [SQLITE] By Sreyas - by Ultraz - 19.11.2016, 19:33
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 20.11.2016, 11:52
Re: SS_Gang System [SQLITE] By Sreyas - by Yaa - 22.11.2016, 19:43
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 22.11.2016, 23:28
Re: SS_Gang System [SQLITE] By Sreyas - by Admireal - 23.11.2016, 14:17
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 24.11.2016, 00:22
Re: SS_Gang System [SQLITE] By Sreyas - by Admireal - 24.11.2016, 15:17
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 24.11.2016, 15:33
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 25.12.2016, 15:00
Re: SS_Gang System [SQLITE] By Sreyas - by amirm3hdi - 13.01.2017, 11:30
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 13.01.2017, 12:20
Re: SS_Gang System [SQLITE] By Sreyas - by henkas - 13.01.2017, 19:34
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 14.01.2017, 01:29
Re: SS_Gang System [SQLITE] By Sreyas - by kusvendi - 17.01.2017, 12:46
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 17.01.2017, 15:26
Respuesta: SS_Gang System [SQLITE] By Sreyas - by Johangelo1 - 08.02.2017, 02:45
Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by SyS - 08.02.2017, 08:37
Respuesta: SS_Gang System [SQLITE] By Sreyas - by Johangelo1 - 08.02.2017, 13:00
Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by SyS - 09.02.2017, 11:30
Respuesta: SS_Gang System [SQLITE] By Sreyas - by Johangelo1 - 10.02.2017, 15:25
Respuesta: SS_Gang System [SQLITE] By Sreyas - by !R1Ch@rD! - 24.02.2017, 01:06
Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by SyS - 24.02.2017, 14:19
Respuesta: Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by !R1Ch@rD! - 25.02.2017, 21:49
Re: Respuesta: Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by SyS - 26.02.2017, 00:12
Re: SS_Gang System [SQLITE] By Sreyas - by Airblog - 28.02.2017, 04:53
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 28.02.2017, 12:18
Respuesta: Re: Respuesta: Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by !R1Ch@rD! - 02.03.2017, 03:35
Respuesta: SS_Gang System [SQLITE] By Sreyas - by MonsterGamer - 18.04.2017, 03:26
Re: Respuesta: SS_Gang System [SQLITE] By Sreyas - by SyS - 18.04.2017, 11:56
Re: SS_Gang System [SQLITE] By Sreyas - by Azhar - 03.05.2017, 04:56
Re: SS_Gang System [SQLITE] By Sreyas - by vegaltasendai - 10.07.2017, 14:41
Re: SS_Gang System [SQLITE] By Sreyas - by Astralis - 10.07.2017, 15:25
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 22.12.2017, 04:30
Re: SS_Gang System [SQLITE] By Sreyas - by BlackEvils - 02.01.2018, 02:17
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker9 - 02.01.2018, 03:27
Re: SS_Gang System [SQLITE] By Sreyas - by Marshall32 - 21.02.2018, 14:07
Re: SS_Gang System [SQLITE] By Sreyas - by Castiel17 - 22.02.2018, 13:25
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 22.02.2018, 23:24
Re: SS_Gang System [SQLITE] By Sreyas - by Castiel17 - 23.02.2018, 11:57
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker9 - 23.02.2018, 12:00
Re: SS_Gang System [SQLITE] By Sreyas - by Castiel17 - 23.02.2018, 12:14
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker9 - 23.02.2018, 13:26
Re: SS_Gang System [SQLITE] By Sreyas - by Castiel17 - 23.02.2018, 13:41
Re: SS_Gang System [SQLITE] By Sreyas - by GhostHacker9 - 23.02.2018, 13:43
Re: SS_Gang System [SQLITE] By Sreyas - by Philip123 - 24.02.2018, 16:23
Re: SS_Gang System [SQLITE] By Sreyas - by Marshall32 - 25.02.2018, 08:49
Re: SS_Gang System [SQLITE] By Sreyas - by Philip123 - 25.02.2018, 15:11
Re: SS_Gang System [SQLITE] By Sreyas - by Philip123 - 25.02.2018, 15:20
Re: SS_Gang System [SQLITE] By Sreyas - by SeeD - 13.05.2018, 12:17
Re: SS_Gang System [SQLITE] By Sreyas - by theleoskinz - 17.05.2018, 01:46
Re: SS_Gang System [SQLITE] By Sreyas - by GameOvr - 02.07.2018, 06:37
Re: SS_Gang System [SQLITE] By Sreyas - by SyS - 02.07.2018, 08:14
Re: SS_Gang System [SQLITE] By Sreyas - by KinderClans - 25.10.2018, 09:16
Re: SS_Gang System [SQLITE] By Sreyas - by GeorgeLimit - 09.02.2019, 03:49
Re: SS_Gang System [SQLITE] By Sreyas - by doodlebob666 - 13.02.2019, 21:12

Forum Jump:


Users browsing this thread: 6 Guest(s)