---
name: "maxLoad"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "2.08"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/maxLoad
revid: 309123
updated: 2022-05-03T11:08:26Z
---

# maxLoad

*Command · Unit Inventory · Arma 3 v2.08*

## Description

Returns maximum load limit for a unit, uniform/vest/backpack containers, vehicle cargo, supply boxes and weapon holders.

## Syntax

```sqf
maxLoad container
```

**Parameters:**

- `container`: [Object](../topics/Object.md) - unit, uniform/vest/backpack container, vehicle cargo, supply box, weapon holder

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
private _maxLoad = maxLoad _yaMum;
```

## See also

[setMaxLoad](../commands/setMaxLoad.md) · [load](../commands/load.md) · [loadAbs](../commands/loadAbs.md) · [loadBackpack](../commands/loadBackpack.md) · [loadUniform](../commands/loadUniform.md) · [loadVest](../commands/loadVest.md) · [getContainerMaxLoad](../commands/getContainerMaxLoad.md)

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