Raised This Month: $168 Target: $400
 42% 

[L4D] Drop Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Frus
Senior Member
Join Date: Aug 2009
Plugin ID:
1170
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    50 
    Plugin Description:
    Allows a survivor to drop the weapon they are holding
    Old 09-19-2009 , 21:46   [L4D] Drop Weapon
    Reply With Quote #1

    Bind a key to sm_drop, or type in chat !drop (public trigger) or /drop (private trigger) to drop the weapon you are holding on the ground for another survivor to use.

    If you allowed dropping arbitrary weapons, put the weapon name after the command to drop it.

    l4d_drop_version (1.1) - Version CVAR
    l4d_drop_specify(1) - Whether or not to allow a player to drop a weapon they are not holding.

    Requested by LTR.2 - http://forums.alliedmods.net/showthread.php?t=103818

    1.1 - Because so many people requested it, you can now drop an arbitrary weapon without having to be holding it.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4ddrop.sp - 8439 views - 5.5 KB)

    Last edited by Frus; 10-03-2009 at 10:40.
    Frus is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 09-19-2009 , 22:22   Re: [L4D] Drop Weapon
    Reply With Quote #2

    Quote:
    Originally Posted by Frus View Post
    I don't plan to support it. If somebody wants to provide support for the plugin they can release it crediting me for the original code.

    Nevermind, I'll release it.
    that made me laugh so bad.
    =D
    LTR.2 is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 09-20-2009 , 00:24   Re: [L4D] Drop Weapon
    Reply With Quote #3

    i realized today that you can't only drop your primary weapon, you can drop also 1 pistol, the explosive, pills or medkit :O

    this is useful when the one in the ground is the one who has the pipe bomb, just drop the pipe so the others can grab the pipe bomb (or mollys if the tank it's chasing)
    LTR.2 is offline
    savagekid
    Senior Member
    Join Date: Apr 2009
    Location: Canada
    Old 09-20-2009 , 07:26   Re: [L4D] Drop Weapon
    Reply With Quote #4

    Lol, seriously? You can drop when your incapped?
    __________________

    Use Coupon Code "GLOBAL50" To Get 50% Off Every Month.
    savagekid is offline
    Send a message via MSN to savagekid
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 09-20-2009 , 07:32   Re: [L4D] Drop Weapon
    Reply With Quote #5

    Well, since you can only equip your pistol while incapped, you'll only drop your second pistol if you have one.
    Frus is offline
    savagekid
    Senior Member
    Join Date: Apr 2009
    Location: Canada
    Old 09-20-2009 , 11:24   Re: [L4D] Drop Weapon
    Reply With Quote #6

    Hmm....What if you have a single pistol when you're incapped, and a teammate drops his second pistol on/beside you to defend yourself. Would you be able to pick it up?
    __________________

    Use Coupon Code "GLOBAL50" To Get 50% Off Every Month.
    savagekid is offline
    Send a message via MSN to savagekid
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 09-20-2009 , 15:54   Re: [L4D] Drop Weapon
    Reply With Quote #7

    No, it's standard L4D that you can't pick up anything while you are incapped.
    Frus is offline
    savagekid
    Senior Member
    Join Date: Apr 2009
    Location: Canada
    Old 09-20-2009 , 17:10   Re: [L4D] Drop Weapon
    Reply With Quote #8

    I'm just messing with you. But it would be cool if that was possible. It adds a new way to display teamwork.
    __________________

    Use Coupon Code "GLOBAL50" To Get 50% Off Every Month.
    savagekid is offline
    Send a message via MSN to savagekid
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 09-20-2009 , 17:11   Re: [L4D] Drop Weapon
    Reply With Quote #9

    any way to drop something that we are not holding?
    LTR.2 is offline
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 09-20-2009 , 17:14   Re: [L4D] Drop Weapon
    Reply With Quote #10

    With this plugin? no. Is it possible? Yes, the DropSlot function in this plugin lets you specify any slot you want to drop, this plugin just always chooses the slot you have equipped.
    Frus is offline
    Reply


    Thread Tools
    Display Modes

    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 02:22.


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