[Support] Some function to get the name of the weapon in the code
			
			BO2 Modding Support & Discussion
		
1
Posts
1
Posters
131
Views
1
Watching
- 
There is some other function that allows me to get the full name of a weapon in the code. 
 I am using this function:weaponP = self getloadoutweapon (class_num1, "primary");Where class_num1is the number of the player's class you have selected, with this I get the name of the player's primary weapon, but there is a problem when I get the secondary weaponweaponS = self getloadoutweapon (class_num1, "secondary");If the secondary weapon has a silencer, the function returns me: 
 fnp45_mp + silencerBut if the weapon has Dual Wield, The function just returns me 
 fnp45_mp, as if the weapon didn't have it.
