RedM Natives

SEND_DUI_MOUSE_UP

Injects a 'mouse up' event for a DUI object.

Hash0x1D735B93
Runtime nameSendDuiMouseUp
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SEND_DUI_MOUSE_UP(long duiObject, char* button);

Parameters

NameTypeDescription
duiObjectlong

The DUI browser handle.

buttonchar*

Either 'left', 'middle' or 'right'.

Returns void

Description

Cfx.re native reference

Injects a 'mouse up' event for a DUI object. Coordinates are expected to be set using SEND_DUI_MOUSE_MOVE.

Usage

Lua
SendDuiMouseUp(duiObject, button)

-- always works, by hash
Citizen.InvokeNative(0x1d735b93, duiObject, button)
JavaScript and C#
JavaScript
SendDuiMouseUp(duiObject, button);

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

Sources

Cfx.re native reference

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