> For the complete documentation index, see [llms.txt](https://codeflow-scripts.gitbook.io/codeflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codeflow-scripts.gitbook.io/codeflow/survival/loadingscreen/installation.md).

# Installation

How to setup the resource and integrate it to your Fivem server?

***

Follow these steps to install the loadingscreen on your FiveM server:

1. **Download** the latest release from the [<mark style="color:$warning;">repository</mark>](https://github.com/CodeFlowDEV/loadingscreen).
2. **Extract** the `loadingscreen` folder into your server's `resources` directory.
3. **Add** the start command to your `server.cfg`:

```bash
ensure loadingscreen
```

***

### |⚙️FXmanifest Options |

#### *Manual shutdown:*

{% hint style="info" %}
By default, the loading screen fades out automatically when the game finishes loading. However, if you need precise control (e.g., you want to hide the screen only **after** the character selection appears), you can toggle manual mode.
{% endhint %}

**Enable** manual mode in your **`fxmanifest.lua`:**

```lua
loadscreen_manual_shutdown 'yes'
```

Use **export** to manually shutdown loadingscree&#x6E;**:**

```lua
exports['loadingscreen']:RequestLoadingScreenShutdown()
```

***

#### *Cursor visibility:*

You can enable the loadscreen cursor by the following command: (by default it's on)

```lua
loadscreen_cursor 'yes'
```
