ACE3/addons/gunbag/functions/fnc_hasGunbag.sqf

21 lines
329 B
Plaintext

/*
* Author: Ir0n1E
* Switches gunbag full/empty for mass calculation.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* Has Gunbag <BOOL>
*
* Example:
* [player] call ace_gunbag_fnc_hasGunbag
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
(backpackContainer _unit) isKindOf QUOTE(ADDON)