RedM Natives

SET_KEY_MAPPING_HIDE_RESOURCES

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

Hash0xCB0241B5
Runtime nameSetKeyMappingHideResources
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SET_KEY_MAPPING_HIDE_RESOURCES(bool hide);

Parameters

NameTypeDescription
hidebool

true will disable the display of resource names, and false will enable it.

Returns void

Description

Cfx.re native reference

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

Usage

Lua
SetKeyMappingHideResources(hide)

-- always works, by hash
Citizen.InvokeNative(0xcb0241b5, hide)
JavaScript and C#
JavaScript
SetKeyMappingHideResources(hide);

// by hash
Citizen.invokeNative('0xcb0241b5', hide);
C#
Function.Call((Hash)0xcb0241b5, hide);

Sources

Cfx.re native reference

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