fnc_onWeaponFiredSwap.sqf 302 B

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