_UI_PROMPT_SET_TEXT
Sets the label displayed on prompt to text, usually a string created with VAR_STRING.
Signature
void _UI_PROMPT_SET_TEXT(Prompt prompt, const char* text); // 0x5DD02A8318420DD7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | prompt | Prompt |
| 2 | text | const char* |
Facts
| Name | _UI_PROMPT_SET_TEXT |
|---|---|
| Hash | 0x5DD02A8318420DD7 |
| 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(0x5DD02A8318420DD7, -- _UI_PROMPT_SET_TEXT
0, -- Prompt prompt
"text" -- const char* text
)Citizen.invokeNative("0x5DD02A8318420DD7", // _UI_PROMPT_SET_TEXT
0, // Prompt prompt
"text" // const char* text
);Function.Call((Hash)0x5DD02A8318420DD7, // _UI_PROMPT_SET_TEXT
0, // Prompt prompt
"text" // const char* text
);Related HUD natives
- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_SET_TAG
- _UI_PROMPT_SET_TARGET_MODE
- _UI_PROMPT_SET_TARGET_MODE_PROGRESS
- _UI_PROMPT_SET_TARGET_MODE_TARGET
- _UI_PROMPT_SET_TRANSPORT_MODE
- _UI_PROMPT_SET_TYPE
- _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
- _UI_PROMPT_SET_ALLOWED_ACTION
- _UI_PROMPT_SET_AMBIENT_GROUP_THIS_FRAME
- _UI_PROMPT_SET_ATTRIBUTE
- _UI_PROMPT_SET_BEAT_MODE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.