Raised This Month: $ Target: $400
 0% 

JailBreak Gang System


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 3286 views)
File Type: inc sqlvault.inc (33.5 KB, 4436 views)
File Type: inc sqlvault_ex.inc (32.4 KB, 4652 views)
File Type: sma Get Plugin or Get Source (jb_gangs.sma - 10379 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
 



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 19:27.


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