Raised This Month: $2 Target: $400
 0% 

[L4D2] Weapon Drop


Post New Thread Reply   
 
Thread Tools Display Modes
theproperson
Member
Join Date: Feb 2017
Old 12-01-2018 , 12:51   Re: [L4D2] Weapon Drop
Reply With Quote #71

Quote:
Originally Posted by Crasher_3637 View Post
You should provide the source code.
Quote:
Originally Posted by theproperson View Post
Too lazy to go recover the .sp since I cleaned out my projects folder but heres the smx I run on my server. CFG attached is the plugins cvars list. If you don't trust me, feel free to edit the original yourself.
theproperson is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 12-01-2018 , 19:50   Re: [L4D2] Weapon Drop
Reply With Quote #72

Quote:
Originally Posted by theproperson View Post
Laziness isn't a valid excuse to distribute binaries without their source. If you don't have the source, don't distribute. Also, your attachments were blocked. Lol...
__________________
AFK like JFK
Crasher_3637 is offline
theproperson
Member
Join Date: Feb 2017
Old 12-01-2018 , 23:34   Re: [L4D2] Weapon Drop
Reply With Quote #73

Quote:
Originally Posted by Crasher_3637 View Post
Laziness isn't a valid excuse to distribute binaries without their source. If you don't have the source, don't distribute. Also, your attachments were blocked. Lol...
thanks. yall can have fun editing the original link that I posed since like no one knows how to read. but this is the last time I try to help the asshats here.
theproperson is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 12-02-2018 , 00:34   Re: [L4D2] Weapon Drop
Reply With Quote #74

Quote:
Originally Posted by theproperson View Post
I would suggest using the one made by shao and panxiaohai located here

https://forums.alliedmods.net/showth...=158962&page=3

I did do a personal edit of it to remove the drop / give messages and to re-add the double-tap flashlight to drop items function. Too lazy to go recover the .sp since I cleaned out my projects folder but heres the smx I run on my server. CFG attached is the plugins cvars list. If you don't trust me, feel free to edit the original yourself.

Benefits of this one over machine's.
: Can drop all weapons including melee, m60 and magnum.
: Retains dropped weapons ammo counters and laser sights.
: Option to make damaging events against survivors cause them to drop items.
: Dropping an item gives it a short distance throw, when aimed at a survivor who does not have an item in that slot, they will automatically pick it up.
: Drop bind is not static, instead is connected to 2 inputs of the flashlight being used. So it does not force you to use a specific key, just a specific event.
https://svn.alliedmods.net/viewvc.cg...root=sourcemod

why the plugin attachments were removed
__________________
Lux is offline
Gato333
Junior Member
Join Date: Aug 2019
Old 08-22-2019 , 00:10   Re: [L4D2] Weapon Drop
Reply With Quote #75

Quote:
Originally Posted by Machine View Post
Description:

This is a weapon drop plugin for L4D2. It allows you to drop anything.

Usage:

Just type !drop in chat. Alternatively, you can bind a key to sm_drop.

Admin Usage:

Root admins can also force survivors to drop a slotted item.
sm_drop <#userid|name> <slot to drop>

Changelog:

1.0
- Release
1.1
- Added weapon upgrades support
1.2
- Added The Passing Weapon Support
1.3
- Uses SDKCall to force player to drop weapon
1.4
- Updated gamedata for both windows/linux (Thanks Peace-Maker)
- Added targeting for root admins
1.5
- Removed gamedata requirement

Credits:

dcx and Electr000999 for contributing, thank you guys!
I have sourcemod 1.10 and it doesn't work :īc
Gato333 is offline
Gato333
Junior Member
Join Date: Aug 2019
Old 08-22-2019 , 00:11   Re: [L4D2] Weapon Drop
Reply With Quote #76

I have sourcemod 1.10 and it doesn't work :c
Gato333 is offline
ceasedU
Member
Join Date: Sep 2018
Old 11-09-2019 , 10:36   Re: [L4D2] Weapon Drop
Reply With Quote #77

for some reason sm_drop doesnt work for as server admin but !drop does.
ceasedU is offline
Marttt
Senior Member
Join Date: Jan 2019
Old 11-09-2019 , 16:06   Re: [L4D2] Weapon Drop
Reply With Quote #78

that doesn't make sense
u mean that typing !drop and !sm_drop in the chat doesn't work in the same way?

Maybe you have another plugin that used the same command and it has been overwritten.
I did a test and it worked fine running as admin on a local server.
__________________
Marttt is offline
ceasedU
Member
Join Date: Sep 2018
Old 11-09-2019 , 21:20   Re: [L4D2] Weapon Drop
Reply With Quote #79

You have a point. I deleted the plugin and !drop still works even though i restarted it. All the plugins have nothing to do with weapon drops but maybe i think admin system conflicts with it
ceasedU is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 03-27-2020 , 21:43   Re: [L4D2] Weapon Drop
Reply With Quote #80

Updated to the transitional syntax and fixed these bugs:
-clear reserve ammo when another player picks up the weapon
-when m60 rifle is dropped "clip == 0" and cannot be picked up.

pd: if you are using listen server, the creator of the game (host) must use the command by chat("!drop" or "/drop")
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_drop.sp - 104 views - 4.2 KB)

Last edited by xZk; 03-27-2020 at 21:48. Reason: tip listen serveros...
xZk 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 14:50.


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