pliskin124 4 Posted April 10, 2017 I made this script in an attempt to remove a launcher (RPG etc.) from the player and give them money in exchange, it works great for the primary weapon but I can't seem to figure out how to remove ONLY the launcher from the player. I realize that secondaryWeapon's are launchers and not pistols, however I'm not sure what to put for the removeWeapons section without having to define every single classname. _Secondary = secondaryWeapon player; if (_Secondary == "") then { hint "You have no launcher to sell."; } else { player addRating 600; removeAllWeapons player; cutText ["Launcher sold for 1200$","BLACK IN"] }; Share this post Link to post Share on other sites
beno_83au 1367 Posted April 11, 2017 https://community.bistudio.com/wiki/removeWeapon https://community.bistudio.com/wiki/secondaryWeapon Use these like this: _unit removeWeapon (secondayWeapon _unit); Edit: There's also https://community.bistudio.com/wiki/removeWeaponGlobal Share this post Link to post Share on other sites