mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed canPassMagazine header
This commit is contained in:
@ -6,9 +6,9 @@
|
|||||||
* 0: Unit that passes the magazine <OBJECT>
|
* 0: Unit that passes the magazine <OBJECT>
|
||||||
* 1: Unit to pass the magazine to <OBJECT>
|
* 1: Unit to pass the magazine to <OBJECT>
|
||||||
* 2: Weapon classname <STRING>
|
* 2: Weapon classname <STRING>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* Unit can pass magazine <BOOL>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [_player, _target, "arifle_MX_F"] call ace_interaction_fnc_canPassMagazine
|
* [_player, _target, "arifle_MX_F"] call ace_interaction_fnc_canPassMagazine
|
||||||
@ -25,4 +25,4 @@ _compatibleMags = getArray (configfile >> "CfgWeapons" >> _weapon >> "magazines"
|
|||||||
_x params ["_className", "", "_loaded"];
|
_x params ["_className", "", "_loaded"];
|
||||||
if ((_className in _compatibleMags) && {!_loaded} && {_target canAdd _className}) exitWith {true};
|
if ((_className in _compatibleMags) && {!_loaded} && {_target canAdd _className}) exitWith {true};
|
||||||
false
|
false
|
||||||
} foreach (magazinesAmmoFull _player);
|
} foreach (magazinesAmmoFull _player);
|
||||||
|
Reference in New Issue
Block a user