Garry's Mod Wiki

GM:HUDWeaponPickedUp

  GM:HUDWeaponPickedUp( Weapon weapon )

Description

Called when a weapon has been picked up. Override to disable the default HUD notification.

Arguments

1 Weapon weapon
The picked up weapon

Example

hook.Add( "HUDWeaponPickedUp", "WeaponPickedUp", function( weapon ) -- You would use HUDPaint or DFrame end )