The Lab
HUD native

_UI_PROMPT_SET_PRESSED_TIMED_MODE

returns void2 paramsbuild 1207

Puts prompt in a timed mode where the player must press before depletionTimeMs runs out.

Signature

C
void _UI_PROMPT_SET_PRESSED_TIMED_MODE(Prompt prompt, int depletionTimeMs); // 0x1473D3AF51D54276 b1207

Parameters

#NameType
1promptPrompt
2depletionTimeMsint

Facts

Facts about _UI_PROMPT_SET_PRESSED_TIMED_MODE
Name
_UI_PROMPT_SET_PRESSED_TIMED_MODE
Hash
0x1473D3AF51D54276
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x1473D3AF51D54276, -- _UI_PROMPT_SET_PRESSED_TIMED_MODE
  0, -- Prompt prompt
  0 -- int depletionTimeMs
)
JavaScript
Citizen.invokeNative("0x1473D3AF51D54276", // _UI_PROMPT_SET_PRESSED_TIMED_MODE
  0, // Prompt prompt
  0 // int depletionTimeMs
);
C#
Function.Call((Hash)0x1473D3AF51D54276, // _UI_PROMPT_SET_PRESSED_TIMED_MODE
  0, // Prompt prompt
  0 // int depletionTimeMs
);
All HUD natives

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