Description
Returns all weapons types and count from the cargo space
Syntax
getWeaponCargo object
Parameters:
object: Object - object to check
Returns: Array - format [all_types_array, all_counts_array]. Eg: [["a", "b"], [3, 2]]
Examples
Example 1
_content = getWeaponCargo carName;
Example 2
_content = getWeaponCargo ammoBoxName;
See also
weaponCargo · addWeaponCargo · addWeaponCargoGlobal · clearWeaponCargo · clearWeaponCargoGlobal