The Lab
HUD native

_UI_PROMPT_IS_JUST_RELEASED

returns BOOL1 parambuild 1207

Returns true on the frame the input bound to prompt is released.

Signature

C
BOOL _UI_PROMPT_IS_JUST_RELEASED(Prompt prompt); // 0x635CC82FA297A827 b1207

Parameters

#NameType
1promptPrompt

Facts

Facts about _UI_PROMPT_IS_JUST_RELEASED
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.

Lua
local result = Citizen.InvokeNative(0x635CC82FA297A827, -- _UI_PROMPT_IS_JUST_RELEASED
  0 -- Prompt prompt
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x635CC82FA297A827", // _UI_PROMPT_IS_JUST_RELEASED
  0, // Prompt prompt
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x635CC82FA297A827, // _UI_PROMPT_IS_JUST_RELEASED
  0 // Prompt prompt
);
All HUD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.