UNREGISTER_RAW_NUI_CALLBACK
Will unregister and cleanup a registered NUI callback handler.
Signature
void UNREGISTER_RAW_NUI_CALLBACK(char* callbackType);Parameters
| Name | Type | Description |
|---|---|---|
callbackType | char* | The callback type to target |
Returns void
Description
Will unregister and cleanup a registered NUI callback handler.
Use along side the REGISTER_RAW_NUI_CALLBACK native.
Usage
UnregisterRawNuiCallback(callbackType)
-- always works, by hash
Citizen.InvokeNative(0x7fb46432, callbackType)JavaScript and C#
UnregisterRawNuiCallback(callbackType);
// by hash
Citizen.invokeNative('0x7fb46432', callbackType);Function.Call((Hash)0x7fb46432, callbackType);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.