The Lab
HUD native

_UI_PROMPT_SET_ATTRIBUTE

returns void3 paramsbuild 1207

Enables or disables the attribute attribute on prompt.

Signature

C
void _UI_PROMPT_SET_ATTRIBUTE(Prompt prompt, int attribute, BOOL enabled); // 0x560E76D5E2E1803F b1207

Parameters

#NameType
1promptPrompt
2attributeint
3enabledBOOL

Facts

Facts about _UI_PROMPT_SET_ATTRIBUTE
Name
_UI_PROMPT_SET_ATTRIBUTE
Hash
0x560E76D5E2E1803F
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(0x560E76D5E2E1803F, -- _UI_PROMPT_SET_ATTRIBUTE
  0, -- Prompt prompt
  0, -- int attribute
  false -- BOOL enabled
)
JavaScript
Citizen.invokeNative("0x560E76D5E2E1803F", // _UI_PROMPT_SET_ATTRIBUTE
  0, // Prompt prompt
  0, // int attribute
  false // BOOL enabled
);
C#
Function.Call((Hash)0x560E76D5E2E1803F, // _UI_PROMPT_SET_ATTRIBUTE
  0, // Prompt prompt
  0, // int attribute
  false // BOOL enabled
);
All HUD natives

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