Add player(a) , and team member(b).
Add items to B
_unit addUniform "U_B_CTRG_3";
_unit addBackpack "B_Bergen_sgg";
(unitbackpack _unit) addmagazinecargoGlobal ["ATMine_Range_Mag",2];
If you take playable control of (b) you can lay 2 mines.
however if (a) gives (b) the command to 'put AT Mine' (b) will lay the first mine , but no further mines are available.
If you take playable control of (b)again the second mine will not be in the inventory.