Garry's Mod Wiki

CTakeDamageInfo:GetAmmoType

  number CTakeDamageInfo:GetAmmoType()

Description

Returns the ammo type used by the weapon that inflicted the damage.

Returns

1 number
Ammo type ID