Garry's Mod Wiki
Description
Called as a weapon entity is picked up by a player. (Including Player:Give)
Contrary to the name of the hook, it is not called when the player switches their active weapon to another.
See also GM:PlayerDroppedWeapon and GM:PlayerCanPickupWeapon.
At the time when this hook is called Entity:GetOwner will return
NULL. The owner is set on the next frame.This will not be called when picking up a weapon you already have as the weapon will be removed and WEAPON:EquipAmmo will be called instead.
Arguments
Example
Drops the player's weapons as soon as they pick one up.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...
