RedM Natives

DESTROY_DUI

Destroys a DUI browser.

Hash0xA085CB10
Runtime nameDestroyDui
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void DESTROY_DUI(long duiObject);

Parameters

NameTypeDescription
duiObjectlong

The DUI browser handle.

Returns void

Description

Cfx.re native reference

Destroys a DUI browser.

Usage

Lua
DestroyDui(duiObject)

-- always works, by hash
Citizen.InvokeNative(0xa085cb10, duiObject)
JavaScript and C#
JavaScript
DestroyDui(duiObject);

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

Sources

Cfx.re native reference

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