SetCurInvWeapon(player, weap_bin);
Making the weapon "current" tells the exe which weapon to send the activated, fire, and deactivated messages to.