ACE3/addons/gunbag/functions/fnc_hasGunbag.sqf

21 lines
329 B
Plaintext
Raw Normal View History

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