[CS:S] Gangs Mod - Jailbreak
1 Attachment(s)
Gangs Mod - Jailbreak Description: Use this mod to create and rule Gangs in your servers. I've created this mod because I saw that only one mod like this exists, and it's abandoned by the author. Requirements: MySQL System Store Features: * Create and Disband Gangs * Invite or Expel Gang Members * Unlimited Slot expension(controlable by CVar) * Gang Banks * Gang Ranks(supports Custom Ranks) * Gang Bonuses(Guns, Armor, Health, Grenades etc.) * Gang Privacy(Public or Private Gangs) * Gang Admin Menu * Gang Disband Passwords Installation:: Download the attached zip archive and extract to your sourcemod folder. Then navigate to your configs/ directory and add the following entry in databases.cfg: Code:
"gangs" ConVars: Code:
// Use Gang Banks? 1 = Yes, 0 = No !creategang - Creates a new Gang for 1500 credits(by default, editable). After typing creategang you should type your disband password in chat. !disbandgang - Used only when gangs_use_disband_pass is set to 0. Gives you the ability to disband a Gang as a Leader. !gang - Opens your Gang Main Menu, with info about your gang and features. !gangs - Opens a menu that shows all the Gangs on the server, if public, you can join a Gang from that menu. !gangmaster - Access the Gang Admin Menu with the Master Key you defined in the cfg. Known Bugs: None. Changelog: Code:
1.0.0 - Initial Release Feel free to post suggestions and requests of new features. If you appreciate my work, feel free to Donate |
Re: Gangs Mod - Jailbreak
You messed up your SQL syntax,
Code:
CREATE TABLE IF NOT EXISTS Gang.Gangs_Users Code:
CREATE TABLE IF NOT EXISTS Gangs_Users As with the other CREATE statements. |
Re: Gangs Mod - Jailbreak
Also this plugin lags my server quite a bit..
|
Re: Gangs Mod - Jailbreak
Most of the lag could likely be attributed to the fact that this plugin seems to use non-threaded queries (a big no-no for what it is trying to do). Not to mention some very...poor coding overall.
|
Re: Gangs Mod - Jailbreak
Quote:
Thanks, fixed that. also, I will try using TQuerys to fix the lag issue, I'll upload a new version when I'm done. |
Re: Gangs Mod - Jailbreak
This is great, will give it a try!
|
Re: Gangs Mod - Jailbreak
Make thisone with multilanguage pls!
Nice Plugin, thanks for public.. |
Re: Gangs Mod - Jailbreak
Quote:
Thanks, I'm working on translations right now. Expect it ready tommarow+-. @nomy Thanks! Also, working on TQuerys to reduce server lag, should fully be supported this week. Thanks for all the comments. |
Re: [CS:S] Gangs Mod - Jailbreak
Nice plugin, looked though your code and here's a few suggestions:
When creating GangMainMenu you don't need to put the whole menu in an if statement, only the parts that are different for every rank. Most of the huge if-else statements in onPlayerSpawn can be changed to switches. Try not to create huge functions, divide them into smaller ones, so that you can reuse some of the smaller ones and the code should become shorter (and easier for others to read :D ) All in all, after TQueries, I will put this one to field testing :3 |
Re: [CS:S] Gangs Mod - Jailbreak
Quote:
Thank you for the feedback. I will release the new version today with your suggestions (: |
All times are GMT -4. The time now is 21:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.