GetPrintName for SecondaryAmmo Possible ?

There is all in the title.

And if yes how I can do this ?

Thanks in advance.

Weapon:GetSecondaryAmmoType( )

I searched ammo on the wiki…this was on the 1st page


GetActiveWeapon( ):GetSecondaryAmmoType( ):GetPrintName()



autorun/ammo.lua:14: attempt to index a number value



local secondary_ammo = client:GetAmmoCount(client:GetActiveWeapon():GetSecondaryAmmoType())

You should use this

And then use secondary_ammo as the draw name on a HUD

I know how to get Secondary Ammo Number On Screen but I want the Name of the secondary Ammo like the SMG