Loading Screen V1 Configuration

This guide explains how to correctly install and configure C7 Loading Screen V1 on your FiveM server. Follow each step carefully to ensure the framework loads and functions as intended.

01. Installing the Resource

1

Download the latest release of the C7 Lux HUD;

This folder should contain the folder: c7-scripts-loading-v1

2

Extract the .zip file's

3

Place the folders into your server's resource directory

Your resources folder should look like the following:

resources/
└── [c7-scripts]
    └── c7-scripts-loading-v1

02. Adding to 'server.cfg'

Add the following line to your server.cfg, preferably after your MySQL and connection resources:

ensure c7-scripts-loading-v1

03. Script Configuration

Altering the script to your preferred configuration has been made easy with our configuration file. To get started, you need to open the file: c7-scripts-loading-v1/config.lua

1

Configuring the Basics

To change the basics of the script, you need to change the following configuration lines:

2

Configuring the Buttons

You must change the following lines:

circle-info

Font Awesome is used for the button icons. https://fontawesome.com/search?ic=free-collectionarrow-up-right

3

Configuring the Logo Image

You must change the following lines:

4

Configuring the Background Images

You must change the following lines:

5

Configuring the Background Video

Configuring the background can be finicky with how FiveM processes video files. Below is a full demonstration of how you can install a video on your loading screen.

circle-exclamation

Locate the following code block and enable background videos:

It is recommended that you use a .mp4 or .webm file as FiveM processes these better.

Common Issue: Video Not Playing

If your video is not playing or displaying, follow the steps below to ensure that FiveM is supporting your file:

  1. Extract the .zip file to anywhere of your choosing.

  2. Open the folder ffmpeg/bin/ - You'll see:

    1. ffmpeg.exe

    2. ffprobe.exe

  3. Put your video file (i.e. video.mp4) in that same bin folder.

  4. You are then to open a command terminal inside that same bin folder.

    1. Click the address bar at the top of your file explorer;

    2. Type: cmd

    3. Press enter.

  5. Run the following command inside the terminal:

    1. ffmpeg -i video.mp4 -c copy -movflags +faststart video_fixed.mp4

    2. Ensure that you replace all occurances of "video" with your file name.

  6. You should then use "video_fixed.mp4" as the loading screen video.

  7. If you are still encountering issues, please join our support discord.

6

Configuring the Music

circle-exclamation

You must change the following lines:

Creating Additional Songs:

You firstly want to duplicate "song2" (the default song) and paste it below (as demonstrated) ensuring that there is a comma at the end bracket of your song as shown below.

Last updated