Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

F1 Loading Screen V4 for FiveM

By Lena

F1 LOADING-SCREEN V4
On this page

F1 Loading Screen V4 (manifest version 4.0, author "F1") shows your server name over a muted YouTube background video and includes a music player with track covers, artist names and volume buttons. The last commit in the repository is from 5 June 2023; if you need a resource that still receives fixes, compare that date with the update history of paid loading screens.

Requirements

No framework is needed. index.html loads jQuery 3.3.1 and anime.js 2.0.2 from cdnjs and the background video from YouTube, so players need both hosts reachable while they load. Closing the screen depends on the playerSpawned event from spawnmanager.

Installation

The README asks for the folder name f1-loading-screen-v4 inside resources and this line in server.cfg:

ensure f1-loading-screen-v4

Configuration

All settings are plain variables in js/config.js:

  • name_loading: the server name shown on screen.
  • video_ID: only the ID of the YouTube video, not the full URL. The video plays muted and loops.
  • volume: start volume of the music, from 10 to 100.
  • key_overlay: the key that switches the video to fullscreen, F3 by default.
  • allMusic: one entry per track with name and artist, img and type_image for the cover in img/, and src and type_music for the file in audio/ (mp3 or ogg).

The Socials array is labeled "SOON" and js/main.js never reads it, so filling it in adds no links to the screen.

Checks before going live

The bundled tracks are commercial songs, among them titles by Xamã and Alicia Keys. Replace audio/M1.mp3 to M5.mp3 and their covers with music you are allowed to use, and update allMusic to match. main.lua calls ShutdownLoadingScreenNui once on playerSpawned, and the manifest sets loadscreen_manual_shutdown 'yes'. If your framework or character selection spawns players without firing that event, the screen stays open, so test a full join on your own server instead of only opening index.html in a browser.

Sources

Original source

FiveM loading screen documentation

Related server guide

  • Afterlife IV Loading Screen for FiveM

    Afterlife IV Loading Screen for FiveM

    Afterlife IV Loading is a React loading screen with six location slides and one music track. Images and music can be swapped without a build, but its shutdown function is empty and needs a fix or another resource.

  • Advanced Loading Script for FiveM

    Advanced Loading Script for FiveM

    NC-LoadingScreenV4 by NaorNC is a standalone FiveM loading screen configured in html/js/config.js. Before launch, replace its random info-tab statistics and confirm that another resource closes the screen.

  • Informative Loading Screen for FiveM

    Informative Loading Screen for FiveM

    Informative Loading Screen is a three-tab FiveM loading screen without a config file: all text sits in index.html. Add loadscreen_cursor so players can click the tabs, and replace the placeholder text and images.