RedM Natives

_ENABLE_HUD_CONTEXT

Old name: _HIDE_HUD_COMPONENT

Hash0x4CC5F2FC1332577F
Runtime nameEnableHudContext
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ENABLE_HUD_CONTEXT(Hash component);

Parameters

NameTypeDescription
componentHash—

Returns void

Description

alloc8or RDR3 NativeDB

https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/hud_presets
Old name: _HIDE_HUD_COMPONENT

VORPCORE RDR3natives

https://gist.github.com/outsider31000/c640961d17b2e4fb0435a413710e1930 list of presets
Old name: _HIDE_HUD_COMPONENT

femga rdr3_discoveries · research notes

// 0x4CC5F2FC1332577F    (By Disquse)
void _HIDE_HUD_COMPONENT(Hash component);

enum HudComponent {
  everything = -1679307491,
  minimapHonorAndCards = 724769646,
  minimap = 474191950,
  forceHonor = 121713391,
  onlyActionWheel = 2011163970,
  actionWheelWeapons = -1249243147,
  skillCards = 1058184710,
  onlyMoney = 1920936087,
  actionWheelFishing = 100665617,
  onlyFishingBait = -859384195,
  unkSpMoney = -950624750,
  unkSpMoneyReplace = 1670279562,
  mpMoney = -66088566,
  unkInfoBox = 36547242,
  campTraderInfo = -782493871,
  honorMoneyCards = -2124237476,
  forceSkillCards = 1533515944,
  actionWheelItems = -2106452847
}

Usage

Lua
EnableHudContext(component)

-- always works, by hash
Citizen.InvokeNative(0x4CC5F2FC1332577F, component)
JavaScript and C#
JavaScript
EnableHudContext(component);

// by hash
Citizen.invokeNative('0x4CC5F2FC1332577F', component);
C#
Function.Call((Hash)0x4CC5F2FC1332577F, component);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives · femga rdr3_discoveries

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.