SEND_DUI_MOUSE_DOWN
Injects a 'mouse down' event for a DUI object.
Signature
void SEND_DUI_MOUSE_DOWN(long duiObject, char* button);Parameters
| Name | Type | Description |
|---|---|---|
duiObject | long | The DUI browser handle. |
button | char* | Either |
Returns void
Description
Injects a 'mouse down' event for a DUI object. Coordinates are expected to be set using SEND_DUI_MOUSE_MOVE.
Usage
SendDuiMouseDown(duiObject, button)
-- always works, by hash
Citizen.InvokeNative(0x5d01f191, duiObject, button)JavaScript and C#
SendDuiMouseDown(duiObject, button);
// by hash
Citizen.invokeNative('0x5d01f191', duiObject, button);Function.Call((Hash)0x5d01f191, duiObject, button);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.