ACE3/addons/gunbag/functions/fnc_hasGunbag.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
333 B
Plaintext

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