RedM Natives

SET_DUI_URL

Navigates the specified DUI browser to a different URL.

Hash0xF761D9F3
Runtime nameSetDuiUrl
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SET_DUI_URL(long duiObject, char* url);

Parameters

NameTypeDescription
duiObjectlong

The DUI browser handle.

urlchar*

The new URL.

Returns void

Description

Cfx.re native reference

Navigates the specified DUI browser to a different URL.

Usage

Lua
SetDuiUrl(duiObject, url)

-- always works, by hash
Citizen.InvokeNative(0xf761d9f3, duiObject, url)
JavaScript and C#
JavaScript
SetDuiUrl(duiObject, url);

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

Sources

Cfx.re native reference

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