The Lab
HUD native

_UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW

returns BOOL1 parambuild 1207

Returns true if the player pressed prompt within the beat mode time window.

Signature

C
BOOL _UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW(Prompt prompt); // 0x1FE4788AB1430C55 b1207

Parameters

#NameType
1promptPrompt

Facts

Facts about _UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW
Name
_UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW
Hash
0x1FE4788AB1430C55
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(0x1FE4788AB1430C55, -- _UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW
  0 -- Prompt prompt
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x1FE4788AB1430C55", // _UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW
  0, // Prompt prompt
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x1FE4788AB1430C55, // _UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW
  0 // Prompt prompt
);
All HUD natives

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