RedM Natives

ENABLE_ENHANCED_HOST_SUPPORT

Hash0xF97B1C93
Runtime nameEnableEnhancedHostSupport
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void ENABLE_ENHANCED_HOST_SUPPORT(BOOL enabled);

Parameters

NameTypeDescription
enabledBOOL—

Returns void

Usage

Lua
EnableEnhancedHostSupport(enabled)

-- always works, by hash
Citizen.InvokeNative(0xf97b1c93, enabled)
JavaScript and C#
JavaScript
EnableEnhancedHostSupport(enabled);

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

Sources

Cfx.re native reference

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