# CFX::SET_MANUAL_SHUTDOWN_LOADING_SCREEN_NUI

- **Hash:** `0x1722C938`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetManualShutdownLoadingScreenNui`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_MANUAL_SHUTDOWN_LOADING_SCREEN_NUI

## Signature

```c
void SET_MANUAL_SHUTDOWN_LOADING_SCREEN_NUI(BOOL manualShutdown);
```

## Parameters

- `manualShutdown` (`BOOL`) — TRUE to manually shut down the loading screen NUI.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

**Note**: This native is deprecated and doesn't work anymore. Use [loadscreen_manual_shutdown](https://docs.fivem.net/docs/scripting-reference/resource-manifest/#loadscreen_manual_shutdown) in the fxmanifest.lua instead.

## Usage

### Lua

```lua
SetManualShutdownLoadingScreenNui(manualShutdown)

-- always available, by hash
Citizen.InvokeNative(0x1722c938, manualShutdown)
```

### JavaScript

```js
SetManualShutdownLoadingScreenNui(manualShutdown);

// by hash
Citizen.invokeNative('0x1722c938', manualShutdown);
```

### C#

```csharp
Function.Call((Hash)0x1722c938, manualShutdown);
```

*Sources: Cfx.re native reference.*
