---
name: "getContainerMaxLoad"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getContainerMaxLoad
revid: 376219
updated: 2025-09-19T07:31:28Z
---

# getContainerMaxLoad

*Command · Unit Inventory · Arma 3 v1.62*

## Description

Returns max load value of given uniform, vest or backpack container. For other types of containers, use [maxLoad](../commands/maxLoad.md) command

## Syntax

```sqf
getContainerMaxLoad containerClass
```

**Parameters:**

- `containerClass`: [String](../topics/String.md) - uniform, vest or backpack class

**Returns:** [Number](../topics/Number.md) - load value, -1 if not available.

## Examples

### Example 1

```sqf
private _maxLoadUniform        = getContainerMaxLoad uniform player;
private _maxLoadVest        = getContainerMaxLoad vest player;
private _maxLoadBackpack    = getContainerMaxLoad backpack player;
```

## See also

[load](../commands/load.md) · [loadAbs](../commands/loadAbs.md) · [loadUniform](../commands/loadUniform.md) · [loadBackpack](../commands/loadBackpack.md) · [loadVest](../commands/loadVest.md) · [getMass](../commands/getMass.md) · [weightRTD](../commands/weightRTD.md)

<sub>Source: [BI Community Wiki — getContainerMaxLoad](https://community.bistudio.com/wiki/getContainerMaxLoad) (revision 376219).</sub>
