SEND_DUI_MESSAGE
Sends a message to the specific DUI root page. This is similar to SEND_NUI_MESSAGE.
CFX
Signature
lua
SendDuiMessage(duiObject, jsonString)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| long | The DUI browser handle. | |
| char* | The message, encoded as JSON. |
Usage
lua
SendDuiMessage(duiObject, jsonString)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
