The Lab
HUD native

_UI_PROMPT_REGISTER_BEGIN

returns Prompt0 paramsbuild 1207

Starts building a new prompt and returns its handle.

Configure it with the _UI_PROMPT_SET_* natives, then finish with _UI_PROMPT_REGISTER_END.

Signature

C
Prompt _UI_PROMPT_REGISTER_BEGIN(); // 0x04F97DE45A519419 b1207

Parameters

This native takes no parameters.

Facts

Facts about _UI_PROMPT_REGISTER_BEGIN
Name
_UI_PROMPT_REGISTER_BEGIN
Hash
0x04F97DE45A519419
Namespace
Returns
Prompt
Game build
1207

Examples

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

Lua
local prompt = Citizen.InvokeNative(0x04F97DE45A519419, -- _UI_PROMPT_REGISTER_BEGIN
  Citizen.ResultAsInteger()
)
print(prompt)
JavaScript
const prompt = Citizen.invokeNative("0x04F97DE45A519419", // _UI_PROMPT_REGISTER_BEGIN
  Citizen.resultAsInteger()
);
console.log(prompt)
C#
int prompt = Function.Call<int>((Hash)0x04F97DE45A519419); // _UI_PROMPT_REGISTER_BEGIN
All HUD natives

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