SA-MP Forums Archive
[FilterScript] SS_Gang System [SQLITE] By Sreyas - 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] SS_Gang System [SQLITE] By Sreyas (/showthread.php?tid=605941)

Pages: 1 2 3 4 5 6


SS_Gang System - SyS - 27.04.2016


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)





Re: SS_Gang System [SQLITE] By Sreyas - Pavintharan - 27.04.2016

nice


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 27.04.2016

Pics Added and fixed some bugs on dialog those who downloaded pls download again


Re: SS_Gang System [SQLITE] By Sreyas - Amunra - 27.04.2016

Nice..
Keep up..


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 27.04.2016

Thanks Mate


Re: SS_Gang System [SQLITE] By Sreyas - GhostHacker - 27.04.2016

Thanks bro its epic +REP


Re: SS_Gang System [SQLITE] By Sreyas - oMa37 - 27.04.2016

Amazing effort again from you!
Good job.


Re: SS_Gang System [SQLITE] By Sreyas - Karan007 - 27.04.2016

Why you still use DB_ESCAPE? Since the new 0.3.7 version, you can now use the '%q' specifier.


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 27.04.2016

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


Re: SS_Gang System [SQLITE] By Sreyas - GhostHacker - 28.04.2016

Does it show offline members and offline gangs in /gmembers and /top respectively?


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 28.04.2016

Quote:
Originally Posted by GhostHacker
View Post
Does it show offline members and offline gangs in /gmembers and /top respectively?
Yes it does


Re: SS_Gang System [SQLITE] By Sreyas - GhostHacker - 29.04.2016

One more question will you add gang zone and capturing system like x337 in future updates?


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 29.04.2016

of course i was making zone system and is completed 75 % and i will add them asap


Re: SS_Gang System [SQLITE] By Sreyas - Fairuz - 03.05.2016

Good job!I'll try it!


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 06.05.2016

Quote:
Originally Posted by Bradley7
View Post
Good job!I'll try it!
Quote:
Originally Posted by Pavintharan
View Post
good job i tested it
Thanks Mates


Re: SS_Gang System [SQLITE] By Sreyas - Battlezone - 06.05.2016

I like your work, +rep


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 07.05.2016

thanks brother


Re: SS_Gang System [SQLITE] By Sreyas - oktokt1 - 07.05.2016

Its great dude good job.


Re: SS_Gang System [SQLITE] By Sreyas - SyS - 08.05.2016

Thanks


Re: SS_Gang System [SQLITE] By Sreyas - Radio - 08.05.2016

Great work, thank you for this!