Garry's Mod Wiki

Revision Difference

GM:HUDItemPickedUp#552765

<function name="HUDItemPickedUp" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called when an item has been picked up. Override to disable the default HUD notification.</description> <realm>Client</realm> <predicted>No</predicted>⤶ <args> <arg name="itemName" type="string">Name of the picked up item</arg> </args> </function> <example> <code>hook.Add( "HUDItemPickedUp", "ItemPickedUp", function( itemName ) -- You would use HUDPaint or DFrame end )</code> </example>