Garry's Mod

Garry's Mod

7,656 ratings
Drop Weapon
3
12
10
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Realism
File Size
Posted
Updated
9.413 KB
13 Jun, 2017 @ 6:05pm
16 Jun, 2020 @ 9:12pm
13 Change Notes ( view )

Subscribe to download
Drop Weapon

Description
This addon allows to drop any weapon you holding.

Features:
  • Dropped weapon keeps ammo count in the magazine!
  • Auto-switch to picked up weapon! (but only if was dropped by player, toggleable, off by default)
  • Blacklist for dropping weapons!
  • Dropping all your weapons on death! (toggleable, off by default)
The command for dropping active weapon is "+drop" (so binding it to key G would be like "bind G +drop" in the console, you'd be prompted in chat to bind a key if you haven't already).

ConVars:
  • "sv_dropweapon_blacklist_adminbypass <0|1>" — Should admins be allowed to drop blacklisted weapons (default: "0")
  • "sv_dropweapon_ondeath <0|1>" — Should players drop their weapons (excluding blacklisted ones) on death (default: "0")
  • "sv_dropweapon_ondeath_activeonly <0|1>" — Should players drop only active weapon on death? (default: "1")
  • "cl_dropweapon_useonpickup <0|1>" (CLIENT) — Auto-switch to picked up weapon (default: "0")

Console commands:
  • "sv_dropweapon_blacklist_add <classname>" — Add weapon to dropping blacklist
  • "sv_dropweapon_blacklist_remove <classname>" — Remove weapon from dropping blacklist

Useful links:
my discord server[discord.gg]
Popular Discussions View All (11)
7
30 Sep, 2023 @ 6:49pm
i still cant drop weapons
Flashbang Enjoyer
17
5 Apr, 2024 @ 6:24am
cant drop weapons
chasebrown04
8
7 Oct, 2022 @ 3:59pm
how to get rid of the dropped weapons
Peter :3
533 Comments
YuRaNnNzZZ  [author] 9 Jul @ 4:32am 
you can make an addon that will work with most weapon dropping addons (not just this one) using this hook to catch the dropped weapons and delete them: https://wiki.facepunch.com/gmod/GM:PlayerDroppedWeapon
YuRaNnNzZZ  [author] 9 Jul @ 3:55am 
don't know of any, all i've seen just drop the weapon
i haven't seen any mod that allows to delete equipped weapon one by one, rather than all at once
aombi 9 Jul @ 3:50am 
is there an alternative to this mod that just completely deletes the weapon from the inventory outright?
Kolya 29 Jun @ 7:43am 
Не работает я скопировал команду вставил в консоль а оно пишет unkonow kommand
YuRaNnNzZZ  [author] 14 Jun @ 9:21am 
this addon does not alter pickup behavior, only adds a way to drop weapons
smashhh 14 Jun @ 9:03am 
same thing, i can't pick it up :steamsad:
Bishambop 19 May @ 7:19am 
why cant i pick it up
не работает
AdiFish442 4 May @ 2:41am 
For people who cant drop js paste this to the cmd bar : bind G +drop
dark-_- 15 Mar @ 11:49pm 
очень классное мод:steamthumbsup: