# LAW::SET_WANTED_SCORE

- **Hash:** `0xA80FF73F772ACF6A`
- **Namespace:** LAW
- **Runtime name (Lua/JS):** `SetWantedScore`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/LAW/SET_WANTED_SCORE

## Signature

```c
void SET_WANTED_SCORE(Player player, int intensity);
```

## Parameters

- `player` (`Player`)
- `intensity` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
SetWantedScore(player, intensity)

-- always available, by hash
Citizen.InvokeNative(0xA80FF73F772ACF6A, player, intensity)
```

### JavaScript

```js
SetWantedScore(player, intensity);

// by hash
Citizen.invokeNative('0xA80FF73F772ACF6A', player, intensity);
```

### C#

```csharp
Function.Call((Hash)0xA80FF73F772ACF6A, player, intensity);
```

## See also

- [LAW::GET_WANTED_SCORE](https://natives.borderlinerp.com/natives/LAW/GET_WANTED_SCORE.md)
- [LAW::CLEAR_WANTED_SCORE](https://natives.borderlinerp.com/natives/LAW/CLEAR_WANTED_SCORE.md)

*Sources: alloc8or RDR3 NativeDB.*
