# CFX::SET_KEY_MAPPING_HIDE_RESOURCES

- **Hash:** `0xCB0241B5`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetKeyMappingHideResources`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_KEY_MAPPING_HIDE_RESOURCES

## Signature

```c
void SET_KEY_MAPPING_HIDE_RESOURCES(bool hide);
```

## Parameters

- `hide` (`bool`) — `true` will disable the display of resource names, and `false` will enable it.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Toggles the visibility of resource names in the FiveM key mapping page.

## Usage

### Lua

```lua
SetKeyMappingHideResources(hide)

-- always available, by hash
Citizen.InvokeNative(0xcb0241b5, hide)
```

### JavaScript

```js
SetKeyMappingHideResources(hide);

// by hash
Citizen.invokeNative('0xcb0241b5', hide);
```

### C#

```csharp
Function.Call((Hash)0xcb0241b5, hide);
```

*Sources: Cfx.re native reference.*
