# PLAYER::_SET_WANTED_COOLDOWN

- **Hash:** `0x39D8D7082BC34B72`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `SetWantedCooldown`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1311
- **Other names:** `_SET_PLAYER_WANTED_COOLDOWN`
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/_SET_WANTED_COOLDOWN

## Signature

```c
void _SET_WANTED_COOLDOWN(int ms);
```

## Parameters

- `ms` (`int`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Sets the current player's wanted evasion cooldown timer.
Observed values: 10000 = short cooldown, 35000 = long cooldown. The wanted UI only exposes short/long states and must be cleared manually after the cooldown ends.

*Source: VORPCORE RDR3natives*

sets the player evasion cooldown timer 10000 short 35000 long

## Usage

### Lua

```lua
SetWantedCooldown(ms)

-- always available, by hash
Citizen.InvokeNative(0x39D8D7082BC34B72, ms)
```

### JavaScript

```js
SetWantedCooldown(ms);

// by hash
Citizen.invokeNative('0x39D8D7082BC34B72', ms);
```

### C#

```csharp
Function.Call((Hash)0x39D8D7082BC34B72, ms);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
