The Lab
HUD native

_UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE

returns void5 paramsbuild 1207

Based on its name and signature, here is our best reading:

Puts prompt in manual mash mode that can fail. The float parameters tune the mash behavior.

Signature

C
void _UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE(Prompt prompt, float p1, float p2, float p3, Any p4); // 0x179DCF71F705DA20 b1207

Parameters

#NameType
1promptPrompt
2p1float
3p2float
4p3float
5p4Any

Facts

Facts about _UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE
Name
_UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE
Hash
0x179DCF71F705DA20
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(0x179DCF71F705DA20, -- _UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE
  0, -- Prompt prompt
  0.0, -- float p1
  0.0, -- float p2
  0.0, -- float p3
  0 -- Any p4
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x179DCF71F705DA20", // _UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE
  0, // Prompt prompt
  0.0, // float p1
  0.0, // float p2
  0.0, // float p3
  0 // Any p4
);
C#
Function.Call((Hash)0x179DCF71F705DA20, // _UI_PROMPT_SET_MASH_MANUAL_CAN_FAIL_MODE
  0, // Prompt prompt
  0.0f, // float p1
  0.0f, // float p2
  0.0f, // float p3
  0 // Any p4
);
All HUD natives

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