#include "script_component.hpp" /* * Author: Ir0n1E * Check if unit has a gunbag. * * Arguments: * 0: Unit * * Return Value: * Has Gunbag * * Example: * [player] call ace_gunbag_fnc_hasGunbag * * Public: No */ params ["_unit"]; getNumber ((configOf (backpackContainer _unit)) >> QUOTE(ADDON)) == 1