SEND_LOADING_SCREEN_MESSAGE
Sends a message to the loadingScreen NUI frame, which contains the HTML page referenced in loadscreen resources.
Signature
BOOL SEND_LOADING_SCREEN_MESSAGE(char* jsonString);Parameters
| Name | Type | Description |
|---|---|---|
jsonString | char* | The JSON-encoded message. |
Returns BOOL — A success value.
Description
Sends a message to the loadingScreen NUI frame, which contains the HTML page referenced in loadscreen resources.
Usage
local retval = SendLoadingScreenMessage(jsonString)
-- always works, by hash
local retval = Citizen.InvokeNative(0x8bbe6cc0, jsonString, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = SendLoadingScreenMessage(jsonString);
// by hash
const retval = Citizen.invokeNative('0x8bbe6cc0', jsonString, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x8bbe6cc0, jsonString);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.