The Lab
HUD native

_UI_PROMPT_GET_PROGRESS

returns float1 parambuild 1207

Returns the current progress of prompt as a float, for example how far a hold prompt has filled.

Signature

C
float _UI_PROMPT_GET_PROGRESS(Prompt prompt); // 0x81801291806DBC50 b1207

Parameters

#NameType
1promptPrompt

Facts

Facts about _UI_PROMPT_GET_PROGRESS
Name
_UI_PROMPT_GET_PROGRESS
Hash
0x81801291806DBC50
Namespace
Returns
float
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(0x81801291806DBC50, -- _UI_PROMPT_GET_PROGRESS
  0, -- Prompt prompt
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x81801291806DBC50", // _UI_PROMPT_GET_PROGRESS
  0, // Prompt prompt
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x81801291806DBC50, // _UI_PROMPT_GET_PROGRESS
  0 // Prompt prompt
);
All HUD natives

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