How to create custom ammo type ?

Well, I want to create a custom ammo type for my swep.
How to do it ?
Because mad cow seem don’t have 5,45 x39 mm ammo type :frowning:
Thanks first.

All they did was take existing ammo and registered the names clientside using this function:



language.Add ("CombineCannon_ammo", ".50 Ammo")
language.Add ("AirboatGun_ammo", "5.56MM Ammo")
language.Add ("CombineCannon_ammo", ".50 Ammo")
language.Add ("StriderMinigun_ammo", "7.62MM Ammo")
language.Add ("CombineCannon_ammo", ".50 Ammo")
language.Add ("Gravity_ammo", "4.6MM Ammo")
language.Add ("CombineCannon_ammo", ".50 Ammo")
language.Add ("Battery_ammo", "9MM Ammo")
language.Add ("SniperPenetratedRound_ammo",".45 Ammo")
language.Add ("AlyxGun_ammo" , "5.7MM Ammo")
language.Add ("SniperRound_ammo",".376 Steyr Ammo")


Feel free to change the names.