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

[L4D & L4D2] Drop Secondary Weapons on Death (1.1) [29-May-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
8070
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Drops a players melee weapon when they die.
    Unapprover:
    Reason for Unapproving:
    https://forums.alliedmods.net/showpost.php?p=2771623&postcount=32
    Old 05-29-2022 , 08:57   [L4D & L4D2] Drop Secondary Weapons on Death (1.1) [29-May-2022]
    Reply With Quote #1

    About:
    • By default the game does not drop a players secondary weapons or second pistol (L4D1), if they are defibbed their weapon will return.
    • This plugin changes that by dropping the secondary weapons, and defibbed players will spawn with a pistol instead.


    Thanks:
    • Voevoda - For the request.



    Changes:
    Code:
    1.1 (29-May-2022)
        - Renamed the plugin and added support for L4D1.
        - Plugin now drops Pistols and Melee weapons. Thanks to "Maur0" for reporting.
    
    1.0 (29-May-2022)
        - 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_drop_secondary.sp - 170 views - 6.3 KB)
    __________________

    Last edited by Silvers; 05-29-2022 at 19:16.
    Silvers is offline
    sorallll
    Senior Member
    Join Date: Oct 2018
    Old 05-29-2022 , 18:33   Re: [L4D2] Drop Melee Weapon on Death (1.0) [29-May-2022]
    Reply With Quote #2

    Quote:
    Originally Posted by Maur0 View Post
    I loved!

    One thing I would ask. If possible also apply to pistols/magnum? Since it would be more realistic that all your equipment from slot 1 to 5 will drop when you die.
    This plugin should do what you want
    sorallll is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-29-2022 , 19:17   Re: [L4D & L4D2] Drop Secondary Weapons on Death (1.1) [29-May-2022]
    Reply With Quote #3

    Great, wish I knew the other plugin existed. Wasted time writing this then.

    Code:
    1.1 (29-May-2022)
    	- Renamed the plugin and added support for L4D1.
    	- Plugin now drops Pistols and Melee weapons. Thanks to "Maur0" for reporting.
    __________________
    Silvers is offline
    Maur0
    Senior Member
    Join Date: Aug 2020
    Old 05-30-2022 , 00:11   Re: [L4D & L4D2] Drop Secondary Weapons on Death (1.1) [29-May-2022]
    Reply With Quote #4

    Quote:
    Originally Posted by Silvers View Post
    Great, wish I knew the other plugin existed. Wasted time writing this then.

    Code:
    1.1 (29-May-2022)
    	- Renamed the plugin and added support for L4D1.
    	- Plugin now drops Pistols and Melee weapons. Thanks to "Maur0" for reporting.
    Silvers - You are the best! Thank you very much!

    A little thing. Can it be applied to a chainsaw? That is the last favor and I am already 100% complete.

    sorallll - Thanks man!
    Maur0 is offline
    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 22:32.


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