_UI_PROMPT_SET_TYPE
Based on its name and signature, here is our best reading:
Sets the type of prompt.
Signature
void _UI_PROMPT_SET_TYPE(Prompt prompt, int type); // 0xF4A5C4509BF923B1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | prompt | Prompt |
| 2 | type | int |
Facts
| Name | _UI_PROMPT_SET_TYPE |
|---|---|
| Hash | 0xF4A5C4509BF923B1 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xF4A5C4509BF923B1, -- _UI_PROMPT_SET_TYPE
0, -- Prompt prompt
0 -- int type
)Citizen.invokeNative("0xF4A5C4509BF923B1", // _UI_PROMPT_SET_TYPE
0, // Prompt prompt
0 // int type
);Function.Call((Hash)0xF4A5C4509BF923B1, // _UI_PROMPT_SET_TYPE
0, // Prompt prompt
0 // int type
);Related HUD natives
- _UI_PROMPT_SET_ORDERING_AS_INPUT_TYPE
- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_DISABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_ENABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_SET_TAG
- _UI_PROMPT_SET_TARGET_MODE
- _UI_PROMPT_SET_TARGET_MODE_PROGRESS
- _UI_PROMPT_SET_TARGET_MODE_TARGET
- _UI_PROMPT_SET_TEXT
- _UI_PROMPT_SET_TRANSPORT_MODE
- _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
- _UI_PROMPT_SET_ALLOWED_ACTION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.