Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
hogmason

add weapon to player back

Recommended Posts

ok so i have a little basic script that will allow players to select a weapon from addactions this works fine but due to a arma bug

the player has to drop the weapon then pick it back up before it can be fired.

so wondering if any 1 knows how i can add the weapon to the players back " slinged over shoulder" when the player selects the weapon. i know this will sort it out as it works for rocket luanchers.

my little basic code set off by addaction


_soldier = _this select 1;


[_soldier] joinSilent east_side;
   removeAllWeapons _soldier;

       _soldier addMagazine "5x_22_LR_17_HMR";
       _soldier addMagazine "5x_22_LR_17_HMR";
       _soldier addMagazine "5x_22_LR_17_HMR";	

		_soldier addWeapon "Huntingrifle";

Share this post


Link to post
Share on other sites

thanks mate adding

_soldier selectWeapon "Huntingrifle";

works perfectly ;)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×