View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-19-2018 , 12:13   Re: strip weapon without disturb
Reply With Quote #4

Did you try removing this from the above?
PHP Code:
        if( bSwitchIfActive && get_pdata_cbase(idm_pActiveItem) == iWeapon )
       {
       
            
ExecuteHamB(Ham_Weapon_RetireWeaponiWeapon);
        } 
Code:
	/**
	 * Description:		There is no more ammo for this gun, so switch to the next best one.
	 * Forward params:	function(this)
	 * Return type:		None.
	 * ExecuteParams:	ExecuteHam(Ham_Weapon_RetireWeapon, this)
	 */
	Ham_Weapon_RetireWeapon,
__________________
Bugsy is offline