# HUD::_ENABLE_HUD_CONTEXT

- **Hash:** `0x4CC5F2FC1332577F`
- **Namespace:** HUD
- **Runtime name (Lua/JS):** `EnableHudContext`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/HUD/_ENABLE_HUD_CONTEXT

## Signature

```c
void _ENABLE_HUD_CONTEXT(Hash component);
```

## Parameters

- `component` (`Hash`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

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

*Source: VORPCORE RDR3natives*

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

*Source: femga rdr3_discoveries*

```
// 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

```lua
EnableHudContext(component)

-- always available, by hash
Citizen.InvokeNative(0x4CC5F2FC1332577F, component)
```

### JavaScript

```js
EnableHudContext(component);

// by hash
Citizen.invokeNative('0x4CC5F2FC1332577F', component);
```

### C#

```csharp
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.

## Related enums

- [eHudContext](https://natives.borderlinerp.com/enums/eHudContext.md) — 107 values

## See also

- [HUD::_DISABLE_HUD_CONTEXT](https://natives.borderlinerp.com/natives/HUD/_DISABLE_HUD_CONTEXT.md) — Old name: _DISPLAY_HUD_COMPONENT

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives, femga rdr3_discoveries.*
