NPC:DropWeapon
Description
Forces the NPC to drop the specified weapon.
Arguments
2 Vector target = nil
If set, launches the weapon at given position. There is a limit to how far it is willing to throw the weapon. Overrides velocity argument.
3 Vector velocity = nil
If set and previous argument is unset, launches the weapon with given velocity. If the velocity is higher than 400, it will be clamped to 400.
Example
A console command that makes all NPCs on the map throw their weapons at the player who executed the console command