Garry's Mod Wiki

GM:HUDAmmoPickedUp

GM:HUDAmmoPickedUp

  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 )

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7