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

Winning Team Restriction


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Plugin ID:
198
Plugin Version:
1.2.5
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Restrict Weapons/Equipment for the winning team (needs low-level plugin with team-based restrictions)
    Old 10-16-2007 , 16:03   Winning Team Restriction
    Reply With Quote #1

    This plugin calls a configurable command to restrict items for the winning team. Restrictions can be done using any restriction-utility that allows team-based restriction (e.g. ^bugs^ sm_restrict).
    New feature: win streak override, if the team losing by absolute number of points wins a certain amount of rounds, the restriction may be overridden with restrict all or complete unrestrict.

    For those who need it clear: ITS NOT A STANDALONE PLUGIN, IT NEEDS ANOTHER PLUGIN TO WORK. (I do not appreciate do do the same work twice)

    commands:

    sm_wtrestrict_status, show restrictions status

    cvars:

    sm_wt_restrict_enable 1/0, enable/disable plugin
    sm_wt_offset <int>, offset of score that one team may have more than the other before restriction becomes active
    sm_restrict_cmd_unrestrict_all "<cmd>", command that resets all restrictions to off. called each mapchange to get a defined state of restriction
    sm_restrict_cmd_t "<cmd>", command to activate restrictions on terrorist team
    sm_restrict_cmd_ct "<cmd>", command to activate restrictions on counter-terrorist team
    sm_unrestrict_cmd_t "<cmd>", command to disable restrictions on terrorist team
    sm_unrestrict_cmd_ct "<cmd>", command to disable restrictions on terrorist team
    sm_winstreak_length <wins>, number of subsequent round the loosing team has to win to enable win stream override (default "2"), set to 0 to disable this feature
    sm_winstreak_mode 0/1, what shall be done if loosing team has a win streak (0=unrestrict, 1=restrict for both teams, default "1")

    version history:

    1.0.3 beta: first public release
    1.0.4 fixed bug on disabling and reenabling the plugin during one map, added sm_wt_offset
    1.2.5 some code cleanups, added win streak handling
    Attached Files
    File Type: sp Get Plugin or Get Source (wt_restrict.sp - 1510 views - 5.9 KB)

    Last edited by red!; 03-29-2012 at 17:49. Reason: plugin update
    red! 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 00:52.


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