Raised This Month: $32 Target: $400
 8% 

JailBreak Gang System


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-26-2011 , 23:05   JailBreak Gang System
Reply With Quote #1

Jailbreak Gang System

By: nikhilgupta345

Description:
This plugin allows prisoners to create gangs and upgrade specific skills that apply to everybody in the gang.

Gang Menu:
    • Create a Gang - Allows a user to create a gang by paying money.
    • Invite to Gang - Only the leader of the gang can invite people to the gang.
    • Skills - Opens the skills menu, where any member of the gang can pay money to upgrade their skills.
    • Top-10 - Shows a MOTD with the top10 gangs, SORTED BY KILLS. (If you have a good way to sort it, please post it below)
    • Leave Gang - Allows a player to leave the gang. The leader cannot leave the gang until he transfers leadership to somebody else (explained later).
    • Gang Admin Menu - Shows a menu with options to disband the gang, kick a player from the gang, or transfer leadership to somebody else in the gang.
    • Online Members - Shows a list of gang members that are currently in the server.

Skills:
    • HP - Increased health
    • Stealing - Increased money earnings.
    • Gravity - Lower Gravity
    • Damage - Increased damage
    • Stamina - Gives higher speed to players.
    • Weapon Drop - Chance of making the guard drop the weapon when you knife them. (%1 chance increase per level)


CVars:
    • jb_gang_cost - The cost to create a gang.
    • jb_health_cost - The cost to upgrade gang health.
    • jb_stealing_cost - The cost to upgrade gang money earning.
    • jb_gravity_cost - The cost to upgrade gang gravity.
    • jb_damage_cost - The cost to upgrade gang damage.
    • jb_stamina_cost - The cost to upgrade gang stamina (speed).
    • jb_weapondrop_cost - The cost to upgrade gang weapon drop percentage.
    • jb_points_per_kill - JB Points received per kill.
    • jb_headshot_bonus - Amount extra received for a headshot.
    • jb_max_members - Max members allowed per gang.
    • jb_admin_create - Whether or not admins can create gangs without points (default 0).
    • Additionally there are CVars for the max level for each type of upgrade, so replace _cost above with _max.
    • Also, there are CVars for amount gain per level, so replace _cost above with _per.
Installation:
    • Click 'Get Source' link below
    • Compile Locally
    • Place 'jb_gangs.amxx' in addons/amxmodx/plugins/ folder
    • Open addons/amxmodx/configs/plugins.ini
    • Add the line 'jb_gangs.amxx' at the bottom
    • Restart server or change map

Credits:
    • F0RCE - Main plugin idea
    • Exolent - SQLVault include
    • Drekes - Fixed freezetime problem for me (too lazy)

Click here to see servers running this plugin.
Attached Files
File Type: inc colorchat.inc (6.3 KB, 3282 views)
File Type: inc sqlvault.inc (33.5 KB, 4425 views)
File Type: inc sqlvault_ex.inc (32.4 KB, 4640 views)
File Type: sma Get Plugin or Get Source (jb_gangs.sma - 10360 views - 44.6 KB)
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 01-24-2012 at 17:45.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-26-2011 , 23:05   Re: Jailbreak Gang System
Reply With Quote #2

Changelog:

Code:
September 26, 2011 - v1.0 -    Initial release
September 27, 2011 - v1.01 -   Added more cvars, fixed a few bugs.
September 28, 2011 - v1.1 -    Added gang admins, jb points instead of money, and a few other things I can't remember :)
January 21, 2012 - v1.1.1 -      Added a new cvar jb_admin_create
January 23, 2012 - v1.1.2 -      Fixed freezetime problem


Notes:
    • You must have both sqlvault .inc files in your include file for this to compile correctly.
    • If you have any suggestions for a change in the plugin works, an addition/removal of skills, or renaming of skills (Yes, I know the names are lame), feel free to post below.
    • The plugin will create a file called 'jb_gangs.ini' in your configs folder, where all gang names, and skills will be located. You can edit the skills of the gangs, but changing the name will mess up the saving.
    • This plugin saves using SQL.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 01-23-2012 at 14:41.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
stevenisecko138
Senior Member
Join Date: Dec 2008
Location: CA
Old 09-26-2011 , 23:27   Re: Jailbreak Gang System
Reply With Quote #3

sweet
stevenisecko138 is offline
Send a message via AIM to stevenisecko138
juan2394
Member
Join Date: Sep 2010
Old 09-27-2011 , 00:13   Re: Jailbreak Gang System
Reply With Quote #4

Why not to make a gang bang plugin?
juan2394 is offline
D.Moder
I uploaded 2 great gameplay plugins here
Join Date: Sep 2009
Location: Sin city
Old 09-27-2011 , 01:48   Re: Jailbreak Gang System
Reply With Quote #5

you have to upload sqlvault_ex.inc
no one can compile your sma file but you
__________________
Creator of COD-Life (Half COD, Half Life)
https://forums.alliedmods.net/showthread.php?t=261162
twitter: @D_Moder_61216
D.Moder is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 09-27-2011 , 01:51   Re: Jailbreak Gang System
Reply With Quote #6

again jb plugin by you ^_^ cool...

how are you getting so cool ideas ?
__________________
Preparing to release my plugins..
r0ck is offline
F0RCE
Senior Member
Join Date: Oct 2010
Old 09-27-2011 , 05:47   Re: Jailbreak Gang System
Reply With Quote #7

It was my idea

We decided to release it for everyone, not just me ;p


The only thing that remain left are custom tags with gang name ;]

Suggestion of skill :
Skill : Evasion [3% chance each level to dodge the blow]
Skill : Nade Maker [1% chance to create a NADE] [Only One person in gang in round]

Good Job =D

Also maybe gang limitation would be good idea??
There could be 5lvl of Gang.
It would work like that:
1lvl # 3ppl
2lvl # 6ppl
3lvl #12ppl
4lvl # 18ppl
5lvl # 24ppl

Each lvl of gang would cost money normally

Last edited by F0RCE; 09-27-2011 at 06:08.
F0RCE is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-27-2011 , 07:45   Re: Jailbreak Gang System
Reply With Quote #8

Quote:
Originally Posted by D.Moder View Post
you have to upload sqlvault_ex.inc
no one can compile your sma file but you
Done
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Lokogaditano
Senior Member
Join Date: Apr 2009
Old 09-27-2011 , 08:59   Re: Jailbreak Gang System
Reply With Quote #9

Hi, I am trying this plugin, its great

Bugs:

-In my server, we made 4 gangs, with 7-10 people in each gang, and, without change map , in the same map , the gangs bugged, I appear in other band that not was mine, and other people too, and I cant return to my gang

-When a member of the gang its a guard, the leader cant kick him

-The leader of a gang can invite a guard to his gang

-The skills stamina, gravity,and drop weapon dont work


Ideas:

-Can you make cvars for the amount of health, gravity or damage that receive the members of the gang?

-The members can deposit his money to a gang bank, and get money of the bank when he wants

-The leader of a gang can declare war to other gang, and all members of the gang can see whose gangs are in war with their

-When you aim a player, you see in front of his name (that is show in the hud) the tag or his gang, and in the nickname too

-I use the hats plugin, and more jailsbreak have the plugin too, can you make for any gang an official hat that only the members can put? or something? that identifies their

-The leader can make admins of the gang, and the admins can invite somebody to the gang or kick him




Sorry for the bad english

Last edited by Lokogaditano; 09-27-2011 at 16:39.
Lokogaditano is offline
F0RCE
Senior Member
Join Date: Oct 2010
Old 09-27-2011 , 09:19   Re: Jailbreak Gang System
Reply With Quote #10

NonSteam?

No Support ;)
F0RCE is offline
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

Forum Jump


All times are GMT -4. The time now is 16:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode