---
name: "addScore"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "global", "server_exec": true}
source: https://community.bistudio.com/wiki/addScore
revid: 310138
updated: 2022-05-05T12:27:54Z
---

# addScore

*Command · Multiplayer · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Locality: arguments **global** · effect **global** · **server execution only**

## Description

Adds a number to the score of a unit. Negative values will remove from the score.

## Syntax

```sqf
unit addScore score
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
unit addScore 10;
```

### Example 2

```sqf
unit addScore -1337; // reduce the unit's score by 1337 points
```

## Multiplayer

Server execution only

## See also

[score](../commands/score.md) · [scoreSide](../commands/scoreSide.md) · [addScoreSide](../commands/addScoreSide.md) · [getPlayerScores](../commands/getPlayerScores.md) · [Arma 3: Event Handlers](../topics/Event_Handlers.md)

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