SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 27/04/2016, 03:19 AM   #1
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,971
Reputation: 447
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.
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)
*   /
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)




Last edited by SyS; 10/01/2018 at 01:46 PM. Reason: New version released
SyS is offline   Reply With Quote
Old 27/04/2016, 03:21 AM   #2
Pavintharan
Banned
 
Join Date: Jun 2015
Posts: 53
Reputation: 11
Default Re: SS_Gang System [SQLITE] By Sreyas

nice
Pavintharan is offline   Reply With Quote
Old 27/04/2016, 07:07 AM   #3
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,971
Reputation: 447
Default Re: SS_Gang System [SQLITE] By Sreyas

Pics Added and fixed some bugs on dialog those who downloaded pls download again
SyS is offline   Reply With Quote
Old 27/04/2016, 07:53 AM   #4
Amunra
Gangsta
 
Amunra's Avatar
 
Join Date: Nov 2015
Location: Indonesian
Posts: 519
Reputation: 12
Default Re: SS_Gang System [SQLITE] By Sreyas

Nice..
Keep up..
__________________
Legendary Criminals


Amunra is offline   Reply With Quote
Old 27/04/2016, 12:29 PM   #5
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,971
Reputation: 447
Default Re: SS_Gang System [SQLITE] By Sreyas

Thanks Mate
SyS is offline   Reply With Quote
Old 27/04/2016, 01:27 PM   #6
GhostHacker
Banned
 
Join Date: Jan 2016
Location: Inside a dark cave Reputation: 3089
Posts: 161
Reputation: 28
Default Re: SS_Gang System [SQLITE] By Sreyas

Thanks bro its epic +REP
GhostHacker is offline   Reply With Quote
Old 27/04/2016, 01:46 PM   #7
oMa37
High-roller
 
oMa37's Avatar
 
Join Date: Feb 2016
Posts: 1,017
Reputation: 155
Default Re: SS_Gang System [SQLITE] By Sreyas

Amazing effort again from you!
Good job.
oMa37 is offline   Reply With Quote
Old 27/04/2016, 01:50 PM   #8
Karan007
Gangsta
 
Karan007's Avatar
 
Join Date: Feb 2015
Posts: 577
Reputation: 67
Default Re: SS_Gang System [SQLITE] By Sreyas

Why you still use DB_ESCAPE? Since the new 0.3.7 version, you can now use the '%q' specifier.
Karan007 is offline   Reply With Quote
Old 27/04/2016, 01:53 PM   #9
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,971
Reputation: 447
Default Re: SS_Gang System [SQLITE] By Sreyas

Quote:
Originally Posted by GhostHacker View Post
Thanks bro its epic +REP
Quote:
Originally Posted by oMa37 View Post
Amazing effort again from you!
Good job.
Quote:
Originally Posted by MrEdinLaw View Post
Good work
Thanks all

Quote:
Originally Posted by Karan007 View Post
Why you still use DB_ESCAPE? Since the new 0.3.7 version, you can now use the '%q' specifier.
Yeah its like a habit for me i will use that specfier on next update Thanks
SyS is offline   Reply With Quote
Old 28/04/2016, 01:20 PM   #10
GhostHacker
Banned
 
Join Date: Jan 2016
Location: Inside a dark cave Reputation: 3089
Posts: 161
Reputation: 28
Default Re: SS_Gang System [SQLITE] By Sreyas

Does it show offline members and offline gangs in /gmembers and /top respectively?
GhostHacker 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
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 05:54 PM.


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