Picture of the authorSX Development

Loading Screen

A simple loading screen.

Installation

Download the Script

Download the script using the Cfx Portal.

Add it to your resources

Open the downloaded zip, copy ed_loadingscreen & put it inside your resources.

Start the Script

refresh
start ed_loadingscreen

Finally, if everything is right, you can put it inside your server.cfg as follows:

ensure ed_loadingscreen
Well done! You can now enjoy your new script.
You are free to change the resource name.

Configuration

ui/config.js
config = {
  /** @type {string} Server name. */
  name: "SX Development",

  /** @type {string} Primary color (HEX). */
  color: "#ff3c00",

  /** @type {string} Path to logo. */
  logo: "assets/logo.webp",

  /** @type {string} Path to sound. */
  sound: "assets/sound.mp3",

  /** @type {string} Loading text. */
  loading: "Loading...",
};

Make sure to restart the script after changing this file.