SEND_NUI_MESSAGE
Signature
BOOL SEND_NUI_MESSAGE(char* jsonString);Parameters
| Name | Type | Description |
|---|---|---|
jsonString | char* | — |
Returns BOOL
Usage
local retval = SendNuiMessage(jsonString)
-- always works, by hash
local retval = Citizen.InvokeNative(0x78608acb, jsonString, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = SendNuiMessage(jsonString);
// by hash
const retval = Citizen.invokeNative('0x78608acb', jsonString, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x78608acb, jsonString);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.