Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Item Equip - Block Switch (1.3) [11-Nov-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6757
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Blocks switching to Adrenaline or Pain Pills when given by a teammate
    Old 10-11-2019 , 23:22   [L4D & L4D2] Item Equip - Block Switch (1.3) [11-Nov-2023]
    Reply With Quote #1

    About:
    • Blocks switching to Adrenaline or Pain Pills when given by a teammate.


    Thanks:


    Cvars:

    Saved to l4d_grenades.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_item_equip_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_item_equip_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_item_equip_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_item_equip_modes_tog "0"

    // Item Equip - Block Switch version.
    l4d_item_equip_version 

    Changes:
    Code:
    1.3 (22-Nov-2023)
        - Re-released due to the version by "MasterMind420" being deleted.
    
    1.2 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.1 (12-Oct-2019)
        - Added "allow" and "mode" cvars to control if the the plugin is enabled.
        - If you don't need these, use the "Pills Pass Fix" plugin by "MasterMind420".
    
    1.0 (12-Oct-2019)
        - Initial release.

    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_item_equip.sp - 69 views - 7.4 KB)
    __________________

    Last edited by Silvers; 11-22-2023 at 15:43. Reason: Restore to previous version.
    Silvers is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 10-11-2019 , 23:37   Re: [L4D & L4D2] Item Equip - Block Switch (1.0) [12-Oct-2019]
    Reply With Quote #2

    https://forums.alliedmods.net/showthread.php?p=2640464 ???
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    Reply



    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 12:25.


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