Raised This Month: $12 Target: $400
 3% 

[CS:S | CS:GO] KDR Weapon Limit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Plugin ID:
3613
Plugin Version:
1.0.0.2a
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Restrict players from weapons when they reach a certain KDR
    Old 04-10-2013 , 23:46   [CS:S | CS:GO] KDR Weapon Limit
    Reply With Quote #1

    DESCRIPTION:
    This plugin is a fairly configurable weapon restriction plugin based on Kill:Death Ratio (KDR). There are 2 different levels of KDR you can set along with two corresponding CVars to list the restricted weapons for each of those levels.

    You can set the restriction to take affect the moment the player exceeds your set KDR values, or have it set the restriction the next time they spawn.

    You can define the primary and secondary replacement weapons for each level of the KDR or use "none" to not give any replacements and just have the player drop the weapon.

    This plugin has the option to maintain the restrictions even if the player disconnects and reconnects to attempt to circumvent the restriction. It is reset on map change.

    If you desire, you can utilize the built in immunity. By default, immunity to this plugin is off. You can also override the default admin flag of "t" by overriding the command "no_kdr_restrict" to whatever it is you want.

    You can also count bot kills towards a player's KDR or not.

    CVars


    REQUIREMENTS:
    SourceMod Version: 1.5.0-dev+3765
    SDKHooks (latest version of 1.5 comes with SDKHooks)

    Optional:
    Updater

    INSTALLATION AND NOTES:
    1. Put .smx file in your sourcemod/plugins folder
    2. Put the phrases.txt files in your sourcemod/translations folder
    3. Restart your server and edit the config file created in cfg/sourcemod named plugin.kdr_weapon_limit.cfg then restart the plugin (or better server) if you make changes.

    CREDITS:
    The following people helped alpha and beta test this and many thanks for bearing with the errors and left over debug junk:
    Noitartsiger
    pubhero
    They also helped provide the other translation language files


    Change Log
    Attached Files
    File Type: zip KDR Weapon Limit 1.0.0.2a.zip (30.6 KB, 820 views)
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 03-31-2015 at 08:47.
    TnTSCS is offline
     



    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 11:45.


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