_UI_PROMPT_IS_ENABLED
Returns true if prompt is enabled.
Signature
BOOL _UI_PROMPT_IS_ENABLED(Prompt prompt); // 0x0D00EDDFB58B7F28 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | prompt | Prompt |
Facts
| Name | _UI_PROMPT_IS_ENABLED |
|---|---|
| Hash | 0x0D00EDDFB58B7F28 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x0D00EDDFB58B7F28, -- _UI_PROMPT_IS_ENABLED
0 -- Prompt prompt
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x0D00EDDFB58B7F28", // _UI_PROMPT_IS_ENABLED
0, // Prompt prompt
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x0D00EDDFB58B7F28, // _UI_PROMPT_IS_ENABLED
0 // Prompt prompt
);Related HUD natives
- _UI_PROMPT_IS_ACTIVE
- _UI_PROMPT_IS_HOLD_MODE_RUNNING
- _UI_PROMPT_IS_JUST_PRESSED
- _UI_PROMPT_IS_JUST_RELEASED
- _UI_PROMPT_IS_PRESSED
- _UI_PROMPT_IS_RELEASED
- _UI_PROMPT_IS_VALID
- _UI_PROMPT_CLEAR_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_DISABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_ENABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_GET_URGENT_PULSING_ENABLED
- _UI_PROMPT_SET_ENABLED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.