Garry's Mod Wiki

GM:PlayerAmmoChanged

  GM:PlayerAmmoChanged( Player ply, number ammoID, number oldCount, number newCount )

Description

Called after player's reserve ammo count changes.

Arguments

1 Player ply
The player whose ammo is being affected.
2 number ammoID
The ammo type ID.
3 number oldCount
The old ammo count.
4 number newCount
The new ammo count.