fnc_onWeaponFiredSwapToEmpty.sqf 189 B

1234
  1. #include "../../config_macros.hpp"
  2. params ["_unit", "_weapon", "_muzzle", "_mode", "_ammo"];
  3. if(_unit ammo _muzzle > 0) exitWith {};
  4. [_unit, _weapon] call macro_fnc_name(swapToEmptyWeapon);