---
name: "BIS_fnc_saveInventory"
type: function
status: ok
groups: ["Inventory"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_saveInventory
revid: 378580
updated: 2026-05-10T21:43:21Z
---

# BIS_fnc_saveInventory

*Function · Inventory · Arma 3 v1.00*

## Description

Save unit's loadout.

## Syntax

```sqf
[unit, input, params, delete] call BIS_fnc_saveInventory
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - unit whose inventory should be saved
- `input`: [Array](../topics/Array.md) format [target, loadoutName]:
  - target: [Namespace](../topics/Namespace.md), [Group](../topics/Group.md) or [Object](../topics/Object.md) - target where the loadout is stored
  - loadoutName: [String](../topics/String.md) - loadout name
- `params`: [Array](../topics/Array.md) - (Optional, default []) custom parameters stored with the loadout
- `delete`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) whether or not to delete the loadout

**Returns:** [Array](../topics/Array.md) - saved value

## Examples

### Example 1

```sqf
[player, [missionNamespace, "BIS_inv"], [], true] call BIS_fnc_saveInventory;
```

## See also

[BIS_fnc_loadInventory](../functions/BIS_fnc_loadInventory.md) · [BIS_fnc_exportInventory](../functions/BIS_fnc_exportInventory.md) · [BIS_fnc_deleteInventory](../functions/BIS_fnc_deleteInventory.md) · [getUnitLoadout](../commands/getUnitLoadout.md)

## Community notes

**Ilias38rus** — 2020-08-02

Doesn't work for backpacks in backpack, unlike [getUnitLoadout](../commands/getUnitLoadout.md).

<sub>Source: [BI Community Wiki — BIS fnc saveInventory](https://community.bistudio.com/wiki/BIS_fnc_saveInventory) (revision 378580).</sub>
