Installation & Config

There is the installation guide and config about our Loading Screen

πŸ“¦ Installation Guide – b_loadingscreen

This script show a cool loading screen during the connexion.


πŸ”§ Requirements

  • Nothing, this script work with all the avalaible FiveM frameworks.

πŸ“ Installation Steps

  1. Place the Resource

    • Drop the b_loadingscreen folder into your resources directory.

  2. Ensure the Resource Add the following to your server.cfg:

    ensure b_loadingscreen
  3. Configure the script in config.js

const Config = {

  keyboard: "azerty", // "azerty" or "qwerty"

  Musics: [
    { title: "EF4ST Mashup",   artist: "Age of Love x Heute Nacth", file: "ageoflove" }, // Title = tile of the music, artist = artist of the music, file = name of the file(.mp3 and image) without extension
    { title: "Crusade",        artist: "Gabry Ponte",               file: "gabryponte" },
    { title: "Fukk!! Code RED",artist: "Night Lovell",              file: "lovell" },
    { title: "Midnight City",  artist: "M83",                       file: "m83" },
    { title: "Tel Aviv",       artist: "Skeler",                    file: "telaviv" },
    { title: "Still D.R.E Remix",       artist: "Dax",                    file: "dax" }
  ],


  Staff: [
    { name: "Benjyyi", role: "Owner",     image: "images/staff/funko.png" }, // name = name of the staff member, role = role of the staff member, image = path to the image of the staff member
    { name: "Jinx",    role: "Artiller",  image: "images/staff/jinx.png" },
    { name: "Vi",      role: "Pacifier",  image: "images/staff/vi.png" }
  ],


  PatchNotes: [
    // Define the patch notes
    // Each patch note is an object with a version and an array of changes
    {
        version: "Version 1.0.0",
        changes: [
          "News <strong>Vehicles</strong> added",
          "Bug inventory fixed",
          "Fixed a bug in the <strong>Animations</strong> menu",
          "Added a new <strong>Staff</strong> section"
        ]
    },
    {
        version: "Version 1.1.0",
        changes: [
            "Added a new <strong>Music</strong> to the playlist",
            "Added a new <strong>Keyboard</strong> layout"
        ]
    } 
  ],



  Keyboards: {
    // Define the keyboard layouts
    // Each layout is an array of arrays, where each inner array represents a row of keys
    azerty: [
      ['βŽ‹','F1','F2','F3','F4','F5','F6','F7','F8','F9','F10','F11','F12'],
      ['Β²','&','Γ©','"','\'','(','-','Γ¨','_','Γ§','Γ ',')','=','←'],
      ['Tab','A','Z','E','R','T','Y','U','I','O','P','^','$','EntrΓ©e'],
      ['Caps','Q','S','D','F','G','H','J','K','L','M','ΓΉ','*'],
      ['⇧ Shift','W','X','C','V','B','N',',',';',' :','!','⇧ Shift'],
      ['Ctrl','Win','Alt','SPACE','AltGr','←','↓','↑','β†’','Suppr']
    ],
    qwerty: [
      ['βŽ‹','F1','F2','F3','F4','F5','F6','F7','F8','F9','F10','F11','F12'],
      ['`','1','2','3','4','5','6','7','8','9','0','-','=','←'],
      ['Tab','Q','W','E','R','T','Y','U','I','O','P','[',']','\\'],
      ['Caps','A','S','D','F','G','H','J','K','L',';','\'','Enter'],
      ['⇧ Shift','Z','X','C','V','B','N','M',',','.','/','⇧ Shift'],
      ['Ctrl','Win','Alt','SPACE','AltGr','←','↓','↑','β†’','Del']
    ]
  },

  Controls: {
    E:  "Interaction",
    F1: "Phone",
    F2: "Inventory",
    F3: "Animations"
    // add more controls as needed
  }
};

Please, follow the guide in config.js to add staff, music and more. If you have any problem, you can join our discord and open a ticket to have support!

Last updated