Recently i've been working on a scripted bergen which allows you to add extra magazines\weapons by activating actions in the action menu.
The scripts i use seem to work fine in SP but a number of problems arise when i attempt to use addmagazine in a MP dedi server environment.
Magazines are added and then the scripts detect if the player had more of that type of magazine after the adding than before - hence we can successfully find if the player has the right number of empty inventory slots when he decides to get another mag.
adding a magazine works when a player drops a number of existing mags from his inventory and freed-up inventory spaces this way
it does not work when those magazines are used-up (ie by firing a weapon) and inventory slots are freed-up this way
what is going on ?
i've heard something about "secondaryweaponholder" and "weaponholder" but i am not fimiliar with any of these commands