# HUD::_UI_PROMPT_SET_HOLD_AUTO_FILL_WITH_DECAY_MODE

- **Hash:** `0xA3F2149AA24F3D8E`
- **Namespace:** HUD
- **Runtime name (Lua/JS):** `UiPromptSetHoldAutoFillWithDecayMode`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_HOLD_AUTO_FILL_WITH_DECAY_MODE

## Signature

```c
void _UI_PROMPT_SET_HOLD_AUTO_FILL_WITH_DECAY_MODE(Prompt prompt, int autoFillTimeMs, int holdTimeMs);
```

## Parameters

- `prompt` (`Prompt`)
- `autoFillTimeMs` (`int`)
- `holdTimeMs` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
UiPromptSetHoldAutoFillWithDecayMode(prompt, autoFillTimeMs, holdTimeMs)

-- always available, by hash
Citizen.InvokeNative(0xA3F2149AA24F3D8E, prompt, autoFillTimeMs, holdTimeMs)
```

### JavaScript

```js
UiPromptSetHoldAutoFillWithDecayMode(prompt, autoFillTimeMs, holdTimeMs);

// by hash
Citizen.invokeNative('0xA3F2149AA24F3D8E', prompt, autoFillTimeMs, holdTimeMs);
```

### C#

```csharp
Function.Call((Hash)0xA3F2149AA24F3D8E, prompt, autoFillTimeMs, holdTimeMs);
```

- 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.*
