SA-MP Forums

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 27/04/2016, 03:19 AM   #1
SyS's Avatar
Join Date: Oct 2015
Posts: 1,996
Reputation: 472
Cool SS_Gang System [SQLITE] By Sreyas

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.

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 


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

  • Latest release (only SQLite version i may release MySQl version later if i get time)

Last edited by SyS; 02/07/2018 at 08:15 AM. Reason: New version released
SyS is offline   Reply With Quote

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
Ban system - sqlite Rodrigo. Scripting Help 2 27/09/2012 12:45 AM
SQLite Ban System Hervest1998 Scripting Help 7 28/07/2012 02:14 PM

All times are GMT. The time now is 10:22 AM.

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