---
name: "loadAbs"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/loadAbs
revid: 353757
updated: 2024-03-23T13:51:29Z
---

# loadAbs

*Command · Unit Inventory · Arma 3 v0.50*

## Description

Returns current sum of mass from items stored in all unit's containers, linked items and weapons.

## Syntax

```sqf
loadAbs unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - (before Arma 3 v2.08 the command did not support containers, ammo boxes, weapon holders, vehicle cargos)

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

## Examples

### Example 1

Player weight: 

```sqf
_weight = loadAbs player;
```

### Example 2

```sqf
private _loadUniform = loadAbs uniformContainer player;
private _loadVest = loadAbs vestContainer player;
private _loadBackpack = loadAbs backpackContainer player;
hint format [
    "Player's load:\nUniform: %1\nVest:%2\nBackpack: $3\nTotal: %4",
    _loadUniform,
    _loadVest,
    _loadBackpack,
    _loadUniform + _loadVest + _loadBackpack
];
```

## See also

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

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