Skip to Content
ResourcesLoadscreenloadscreen

About

The loadscreen resource renders the screen players see while connecting to and loading into a server, before the world and other resources are ready. It’s an NUI page, so it’s built with regular HTML/CSS/JS rather than in-game UI, and typically shows connection progress, server branding, and rules.

How it fits into the connection lifecycle

FiveM shows the load screen from the moment the client starts downloading resources until the world has finished streaming in. It’s the first thing a player sees after connecting, so it should load a small, self-contained set of assets and not depend on gameplay resources being started yet.

Pointing your server at a custom load screen

To replace the default screen, set the loadscreen line in your resource’s fxmanifest.lua to the HTML file to render:

loadscreen 'html/loading.html'

Then start that resource early in server.cfg, ahead of your gameplay resources, so it’s available as soon as a client connects:

ensure my-loadscreen