---
name: "addLiveStats"
type: command
status: ok
groups: ["System"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/addLiveStats
revid: 318778
updated: 2022-05-13T09:21:29Z
---

# addLiveStats

*Command · System · Arma 3 v0.50 · introduced in Operation Flashpoint: Elite v1.00*

## Description

Adds score to the Xbox Live Statistics score for the given unit (or the commander unit of the given vehicle).

## Syntax

```sqf
unit addLiveStats score
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `score`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
player addLiveStats 10;
```

## See also

[setArmoryPoints](../commands/setArmoryPoints.md) · [unlockAchievement](../commands/unlockAchievement.md) · [setStatValue](../commands/setStatValue.md)

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