fnc_onWeaponFiredSwapToEmpty.sqf 278 B

12345678
  1. #include "../../config_macros.hpp"
  2. params ["_unit", "_weapon", "_muzzle", "_mode", "_ammo"];
  3. if(_unit ammo _muzzle > 0) exitWith
  4. {
  5. diag_log format["fired skipped for %1", _muzzle];
  6. };
  7. diag_log format["Mag %1",_magazine];
  8. [_unit, _weapon] call macro_fnc_name(swapToEmptyWeapon);