Installation & Config
There is the installation guide and config about our Loading Screen
π¦ Installation Guide β b_loadingscreen
b_loadingscreenThis script show a cool loading screen during the connexion.
π§ Requirements
Nothing, this script work with all the avalaible FiveM frameworks.
π Installation Steps
Place the Resource
Drop the
b_loadingscreenfolder into yourresourcesdirectory.
Ensure the Resource Add the following to your
server.cfg:ensure b_loadingscreenConfigure 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