Garry's Mod Wiki

Garry's Mod Wiki

  GM:HUDAmmoPickedUp( string itemName, number amount )

Description

Called when the client has picked up ammo. Override to disable default HUD notification.

Arguments

1 string itemName
Name of the item (ammo) picked up
2 number amount
Amount of the item (ammo) picked up

Example

hook.Add( "HUDAmmoPickedUp", "AmmoPickedUp", function( itemName, amount ) -- You would use HUDPaint or DFrame end )

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...