_UI_PROMPT_IS_JUST_RELEASED
Returns true on the frame the input bound to prompt is released.
Signature
BOOL _UI_PROMPT_IS_JUST_RELEASED(Prompt prompt); // 0x635CC82FA297A827 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | prompt | Prompt |
Facts
| Name | _UI_PROMPT_IS_JUST_RELEASED |
|---|---|
| Hash | 0x635CC82FA297A827 |
| 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(0x635CC82FA297A827, -- _UI_PROMPT_IS_JUST_RELEASED
0 -- Prompt prompt
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x635CC82FA297A827", // _UI_PROMPT_IS_JUST_RELEASED
0, // Prompt prompt
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x635CC82FA297A827, // _UI_PROMPT_IS_JUST_RELEASED
0 // Prompt prompt
);Related HUD natives
- _UI_PROMPT_IS_JUST_PRESSED
- _UI_PROMPT_IS_RELEASED
- _UI_PROMPT_IS_ACTIVE
- _UI_PROMPT_IS_ENABLED
- _UI_PROMPT_IS_HOLD_MODE_RUNNING
- _UI_PROMPT_IS_PRESSED
- _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_HAS_MASH_MODE_JUST_PRESSED
- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.