SEND_DUI_MOUSE_MOVE
Injects a 'mouse move' event for a DUI object.
Signature
void SEND_DUI_MOUSE_MOVE(long duiObject, int x, int y);Parameters
| Name | Type | Description |
|---|---|---|
duiObject | long | The DUI browser handle. |
x | int | The mouse X position. |
y | int | The mouse Y position. |
Returns void
Description
Injects a 'mouse move' event for a DUI object. Coordinates are in browser space.
Usage
SendDuiMouseMove(duiObject, x, y)
-- always works, by hash
Citizen.InvokeNative(0xd9d7a0aa, duiObject, x, y)JavaScript and C#
SendDuiMouseMove(duiObject, x, y);
// by hash
Citizen.invokeNative('0xd9d7a0aa', duiObject, x, y);Function.Call((Hash)0xd9d7a0aa, duiObject, x, y);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.