Garry's Mod

Garry's Mod

104 个评价
Drop Weapons Revamped
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 写实
文件大小
发表于
更新日期
26.788 KB
1 月 22 日 下午 12:11
6 月 29 日 下午 4:28
4 项改动说明 ( 查看 )

订阅以下载
Drop Weapons Revamped

描述
Yes, I know there are other addons like this one

Commands
bind "key" +dwdrop
bind "key" +dwdropammo
Replace "key" with your desired key (without quotation marks)

You can also use chat commands: !dwdrop and !dwdropammo

What is this?
A script that allows you to drop weapons using bound commands, drop weapons on death, and more.

Features
  • Drop the weapon you are holding using a bound key
  • Drop weapon primary ammo using a bound key
  • Drop weapons on death, with the option to only drop the weapon you're currently holding
  • Dropped weapons retain their ammo
  • Set a limit on the number of dropped weapons allowed on the map
  • Blacklist weapons that you don't want to be dropped via key and on death
  • Drop additional utilities, whether you have them or not, in addition to dropping weapons on death
  • You can also drop entities using the list
  • Allow each client to have their own utility list, or use a global server list
  • Compatible with my drop grenades on death addon

Credits
YuRaNnNzZZ - inspiration from his Drop Weapon addon



[ko-fi.com]
27 条留言
Forks 7 月 30 日 下午 8:21 
i changed level now its gone, IDK
Forks 7 月 30 日 下午 8:16 
error on death:
[Drop Weapons Revamped] lua/autorun/server/sv_dropweapons.lua:140: bad argument #1 to 'JSONToTable' (string expected, got nil)
1. JSONToTable - [C]:-1
2. unknown - lua/autorun/server/sv_dropweapons.lua:140
3. unknown - lua/dlib/modules/hook.lua:904
ricky dicky doo dah grimes  [作者] 7 月 30 日 上午 7:11 
I'm using gmod's built-in DropWeapon function, so unfortunately that behavior is out of my control and not something I can directly fix
JollyTexture 7 月 30 日 上午 7:02 
I noticed that sometimes, when a weapon has a p_ model (model used for player holding weapon in thirdperson), mostly Goldsource models, the script always calls that p_ model instead of the w_ model (worldmodel), which isn't good, since most p_ models are bad and inconsistent.
ricky dicky doo dah grimes  [作者] 6 月 29 日 下午 4:24 
It was originally called that, but I changed it to +dwdropammo so it would have the same prefix as +dwdrop. I just forgot to update the chat message
Sophisticated Gumi-chan 6 月 29 日 下午 4:18 
The message for +dwdropammo not being bound is wrong, it says to bind a key for "You do not have a key bound for +dwammodrop!"

Dyslexic much?
Alan 6 月 25 日 下午 12:04 
When I set binds then leave or join a new map it resets and I have to do it again
kokakol 6 月 6 日 上午 11:44 
Hi, you addon dont work in dedicated server. My discord: kaifkol
ricky dicky doo dah grimes  [作者] 3 月 27 日 上午 5:19 
@Ammar Kun Works fine for me and I have over 100 addons enabled, including MW Base and ARC9. It also works with only them enabled
Ammar Kun 3 月 12 日 下午 10:31 
spamming error while death using TFA Base,ARC9,MW Base