RedM Natives

SET_MANUAL_SHUTDOWN_LOADING_SCREEN_NUI

Hash0x1722C938
Runtime nameSetManualShutdownLoadingScreenNui
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SET_MANUAL_SHUTDOWN_LOADING_SCREEN_NUI(BOOL manualShutdown);

Parameters

NameTypeDescription
manualShutdownBOOL

TRUE to manually shut down the loading screen NUI.

Returns void

Description

Cfx.re native reference

Note: This native is deprecated and doesn't work anymore. Use loadscreen_manual_shutdown in the fxmanifest.lua instead.

Usage

Lua
SetManualShutdownLoadingScreenNui(manualShutdown)

-- always works, by hash
Citizen.InvokeNative(0x1722c938, manualShutdown)
JavaScript and C#
JavaScript
SetManualShutdownLoadingScreenNui(manualShutdown);

// by hash
Citizen.invokeNative('0x1722c938', manualShutdown);
C#
Function.Call((Hash)0x1722c938, manualShutdown);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.