The Lab
HUD native

_UI_PROMPT_HAS_HOLD_MODE_COMPLETED

returns BOOL1 parambuild 1207

Returns true once the player has held prompt long enough to complete it.

Check it every frame while the prompt is visible.

Signature

C
BOOL _UI_PROMPT_HAS_HOLD_MODE_COMPLETED(Prompt prompt); // 0xE0F65F0640EF0617 b1207

Parameters

#NameType
1promptPrompt

Facts

Facts about _UI_PROMPT_HAS_HOLD_MODE_COMPLETED
Name
_UI_PROMPT_HAS_HOLD_MODE_COMPLETED
Hash
0xE0F65F0640EF0617
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xE0F65F0640EF0617, -- _UI_PROMPT_HAS_HOLD_MODE_COMPLETED
  0 -- Prompt prompt
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xE0F65F0640EF0617", // _UI_PROMPT_HAS_HOLD_MODE_COMPLETED
  0, // Prompt prompt
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xE0F65F0640EF0617, // _UI_PROMPT_HAS_HOLD_MODE_COMPLETED
  0 // Prompt prompt
);
All HUD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.