# PLAYER::GET_PLAYER_WANTED_LEVEL

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

## Signature

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

## Parameters

- `player` (`Player`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetPlayerWantedLevel(player)

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

### JavaScript

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

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

### C#

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

## See also

- [PLAYER::SET_PLAYER_WANTED_LEVEL](https://natives.borderlinerp.com/natives/PLAYER/SET_PLAYER_WANTED_LEVEL.md) — nullsub, doesn't do anything
- [PLAYER::CLEAR_PLAYER_WANTED_LEVEL](https://natives.borderlinerp.com/natives/PLAYER/CLEAR_PLAYER_WANTED_LEVEL.md) — nullsub, doesn't do anything

*Sources: alloc8or RDR3 NativeDB.*
