Garry's Mod

Garry's Mod

6,994 ratings
Drop Weapon
2
10
8
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.

INVISIBLE WEAPONS?
That's an issue with the game, replicated even with 0 addons installed ("-noaddons -noworkshop" in command line parameters and "lua_run Entity(1):DropWeapon()" in console.)
Any comments regarding this issue will be removed, as this addon has nothing to do with it.

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
thrower of fish
17
5 Apr @ 6:24am
cant drop weapons
chasebrown04
8
7 Oct, 2022 @ 3:59pm
how to get rid of the dropped weapons
Peter :3
494 Comments
YuRaNnNzZZ  [author] 16 Aug @ 8:43am 
👓 <- возьми и прочитай в описании текст выделенный в прямоугольник
Jay 12 Aug @ 8:46am 
bind G +drop
awsome
Luka2000 12 Jun @ 5:23pm 
Pretty cool addon i must say
YuRaNnNzZZ  [author] 7 Jun @ 2:52am 
anyway edit it manually with sv_dropweapon_blacklist (comma separated classes list) if add/remove commands don't work properly
YuRaNnNzZZ  [author] 7 Jun @ 2:51am 
blacklist is a total mess tbf, it shouldn't be in a convar at all
i wish i wasn't so lazy to rewrite it completely
Talon 6 Jun @ 3:07pm 
Okay, the 'remove' command for the blacklist is completely useless. You can only have one weapon in that blacklist, for some reason, and attempting to add any others will only work for the first in the list no matter how you format it.
Jonesite 11 May @ 7:59pm 
cant drop admin weapons
Blue Pootis 24 Apr @ 10:08pm 
weapon lt drop like Left 4 dead 2
YuRaNnNzZZ  [author] 1 Apr @ 10:29am 
gm_blackmesa_sigma