The Lab
HUD native

_ENABLE_HUD_CONTEXT_THIS_FRAME

returns void1 parambuild 1207

Enables the HUD context identified by component for the current frame only.

Call it every frame while the element should stay visible.

Signature

C
void _ENABLE_HUD_CONTEXT_THIS_FRAME(Hash component); // 0xC9CAEAEEC1256E54 b1207

Parameters

#NameType
1componentHash

Facts

Facts about _ENABLE_HUD_CONTEXT_THIS_FRAME
Name
_ENABLE_HUD_CONTEXT_THIS_FRAME
Hash
0xC9CAEAEEC1256E54
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(0xC9CAEAEEC1256E54, -- _ENABLE_HUD_CONTEXT_THIS_FRAME
  GetHashKey("name") -- Hash component
)
JavaScript
Citizen.invokeNative("0xC9CAEAEEC1256E54", // _ENABLE_HUD_CONTEXT_THIS_FRAME
  GetHashKey("name") // Hash component
);
C#
Function.Call((Hash)0xC9CAEAEEC1256E54, // _ENABLE_HUD_CONTEXT_THIS_FRAME
  (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.