RedM Natives

REGISTER_NUI_CALLBACK_TYPE

Hash0xCD03CDA9
Runtime nameRegisterNuiCallbackType
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void REGISTER_NUI_CALLBACK_TYPE(char* callbackType);

Parameters

NameTypeDescription
callbackTypechar*—

Returns void

Usage

Lua
RegisterNuiCallbackType(callbackType)

-- always works, by hash
Citizen.InvokeNative(0xcd03cda9, callbackType)
JavaScript and C#
JavaScript
RegisterNuiCallbackType(callbackType);

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

Sources

Cfx.re native reference

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