I've created 500+ mods, and counting...
Finally, people want a mod like this so bad they've even offered me money to create it, lol. But I never created it, and you created in the perfect way.
You could add my WeaponNames.fxt to your mod, it makes it easier for people to find the weapon ID and define its name.
I usually include this file in my mods in a "Weapon Names" folder in ModLoader.
By the way, when I add a flamethrower:
37 WEAP37 1 8 9 5000 100
Ammo gets 10 instead of 100, if I try 300 it gets 30. It could be a game problem, I don't know.