RedM Natives

SET_NUI_FOCUS_KEEP_INPUT

Hash0x3FF5E5F8
Runtime nameSetNuiFocusKeepInput
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SET_NUI_FOCUS_KEEP_INPUT(BOOL keepInput);

Parameters

NameTypeDescription
keepInputBOOL—

Returns void

Usage

Lua
SetNuiFocusKeepInput(keepInput)

-- always works, by hash
Citizen.InvokeNative(0x3ff5e5f8, keepInput)
JavaScript and C#
JavaScript
SetNuiFocusKeepInput(keepInput);

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

Sources

Cfx.re native reference

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