_UI_PROMPT_REGISTER_BEGIN
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
Prompt _UI_PROMPT_REGISTER_BEGIN(); // 0x04F97DE45A519419 b1207Parameters
This native takes no parameters.
Facts
| 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.
local prompt = Citizen.InvokeNative(0x04F97DE45A519419, -- _UI_PROMPT_REGISTER_BEGIN
Citizen.ResultAsInteger()
)
print(prompt)const prompt = Citizen.invokeNative("0x04F97DE45A519419", // _UI_PROMPT_REGISTER_BEGIN
Citizen.resultAsInteger()
);
console.log(prompt)int prompt = Function.Call<int>((Hash)0x04F97DE45A519419); // _UI_PROMPT_REGISTER_BEGINRelated HUD natives
- _UI_PROMPT_REGISTER_END
- _UI_PROMPT_CLEAR_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_DISABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_ENABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION
- _UI_PROMPT_REMOVE_GROUP
- _UI_PROMPT_RESTART_MODES
- _UI_PROMPT_ADD_GROUP_LINK
- _UI_PROMPT_ADD_GROUP_RETURN_LINK
- _UI_PROMPT_CLEAR_HORIZONTAL_ORIENTATION
- _UI_PROMPT_CONTEXT_SET_POINT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.