The Lab
HUD native

_DISABLE_HUD_CONTEXT

returns void1 parambuild 1207

Disables the HUD context identified by component, hiding the associated HUD element until it is enabled again.

Signature

C
void _DISABLE_HUD_CONTEXT(Hash component); // 0x8BC7C1F929D07BF3 b1207

Parameters

#NameType
1componentHash

Facts

Facts about _DISABLE_HUD_CONTEXT
Name
_DISABLE_HUD_CONTEXT
Hash
0x8BC7C1F929D07BF3
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(0x8BC7C1F929D07BF3, -- _DISABLE_HUD_CONTEXT
  GetHashKey("name") -- Hash component
)
JavaScript
Citizen.invokeNative("0x8BC7C1F929D07BF3", // _DISABLE_HUD_CONTEXT
  GetHashKey("name") // Hash component
);
C#
Function.Call((Hash)0x8BC7C1F929D07BF3, // _DISABLE_HUD_CONTEXT
  (uint)API.GetHashKey("name") // Hash component
);
All HUD natives

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