The Lab
HUD native

_UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE

returns void4 paramsbuild 1207

Puts prompt in a resisting mash mode that can fail, with mashes presses required, progress decaying at decreaseSpeed and starting at startProgress.

Signature

C
void _UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE(Prompt prompt, int mashes, float decreaseSpeed, float startProgress); // 0xDC0CB602DEADBA53 b1207

Parameters

#NameType
1promptPrompt
2mashesint
3decreaseSpeedfloat
4startProgressfloat

Facts

Facts about _UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE
Name
_UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE
Hash
0xDC0CB602DEADBA53
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xDC0CB602DEADBA53, -- _UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE
  0, -- Prompt prompt
  0, -- int mashes
  0.0, -- float decreaseSpeed
  0.0 -- float startProgress
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xDC0CB602DEADBA53", // _UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE
  0, // Prompt prompt
  0, // int mashes
  0.0, // float decreaseSpeed
  0.0 // float startProgress
);
C#
Function.Call((Hash)0xDC0CB602DEADBA53, // _UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE
  0, // Prompt prompt
  0, // int mashes
  0.0f, // float decreaseSpeed
  0.0f // float startProgress
);
All HUD natives

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