Garry's Mod Wiki

GM:HUDItemPickedUp

  GM:HUDItemPickedUp( string itemName )

Description

Called when an item has been picked up. Override to disable the default HUD notification.

Arguments

1 string itemName
Name of the picked up item

Example

hook.Add( "HUDItemPickedUp", "ItemPickedUp", function( itemName ) -- Register the addition or create a Panel here end )