# LAW::GET_WANTED_SCORE

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

## Signature

```c
int GET_WANTED_SCORE(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetWantedScore(player)

-- always available, by hash
local retval = Citizen.InvokeNative(0xDD5FD601481F648B, player, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetWantedScore(player);

// by hash
const retval = Citizen.invokeNative('0xDD5FD601481F648B', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xDD5FD601481F648B, player);
```

## See also

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

*Sources: alloc8or RDR3 NativeDB.*
