Coder Social home page Coder Social logo

zaidqaiser / fivem-loadingscreen--latest Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 64.94 MB

Advanced or Custom LoadingScreen for FiveM (QBCore // ESX // VRP)

Home Page: https://www.fiverr.com/users/zaidwebdev

CSS 53.77% JavaScript 27.23% Lua 0.80% HTML 18.20%
cfx cfx-framework esx esx-framework esx-legacy esx-script fivem gta-5 gta5 gtaonline

fivem-loadingscreen--latest's Introduction

FiveM Loading Screen Standalone

Welcome to the FiveM Loading Screen Standalone repository! This project is designed to enhance the loading experience for your FiveM server, supporting both ESX and QBcore frameworks. With the ability to add custom functions, you can play multiple background videos and display interactive buttons for a dynamic and engaging loading screen.

Author

Created By @ZAID

Preview

1

Features

  • Multi-Video Background: Play more than one video in the background to keep your players entertained while they wait.
  • Framework Compatibility: Fully compatible with both ESX and QBcore frameworks.
  • Custom Functions: Easily add custom functions to enhance the loading screen's interactivity and functionality.
  • Interactive Buttons: Display buttons on the screen to provide useful information or actions for the players.
  • User-Friendly Configuration: Simple and easy-to-understand configuration files to get you up and running quickly.

Installation

  1. Clone the repository to your FiveM server's resources directory.

    git clone https://github.com/yourusername/fivem-loading-screen-standalone.git
  2. Add the resource to your server configuration file (server.cfg).

    start fivem-loading-screen-standalone
    
  3. Configure the loading screen by editing the config.js file to suit your server's needs.

Configuration

The config.js file allows you to customize various aspects of the loading screen. You can add multiple video URLs, configure button texts and actions, and tailor the screen's appearance to match your server's theme.

Sample Configuration

Below is a sample configuration file (config.js) to get you started:

Config = {}; // Don't touch

Config.ServerIP = "localhost:30120";

// Social media buttons on the left side
Config.Socials = [
    {name: "discord", label: "Discord", description: "Join our community, have fun!", icon: "assets/media/icons/discord.png", link: "https://discord.gg/#"},
    {name: "tiktok", label: "Tiktok", description: "Watch our video here!", icon: "assets/media/icons/tiktok.png", link: "https://www.instagram.com/#"},
    {name: "Paypal", label: "Instagram", description: "Checkout latest Update or Events!", icon: "assets/media/icons/tebex.png", link: "https://www.instagram.com/#"},
];

Config.HideoverlayKeybind = 112 // JS key code https://keycode.info
Config.CustomBindText = "F1"; // leave as "" if you don't want the bind text in html to be statically set

// Staff list
Config.Staff = [
    {name: "Staff#1", description: "Name", color: "#fff", image: "https://cdn.discordapp.com/attachments/1127485698354716723/1253979300420649011/logo.png?ex=6677d2bb&is=6676813b&hm=972cc87d3da1db0c7b727f3cc51c0a0e4c21bd394edf1cc1433399f3abd2f0c7&"},
    {name: "Staff#2", description: "Name", color: "#fff", image: "https://cdn.discordapp.com/attachments/1127485698354716723/1253979300420649011/logo.png?ex=6677d2bb&is=6676813b&hm=972cc87d3da1db0c7b727f3cc51c0a0e4c21bd394edf1cc1433399f3abd2f0c7&"},
    {name: "Staff#3", description: "Name", color: "#fff", image: "https://cdn.discordapp.com/attachments/1127485698354716723/1253979300420649011/logo.png?ex=6677d2bb&is=6676813b&hm=972cc87d3da1db0c7b727f3cc51c0a0e4c21bd394edf1cc1433399f3abd2f0c7&"},
    {name: "Staff#4", description: "Name", color: "#fff", image: "https://cdn.discordapp.com/attachments/1127485698354716723/1253979300420649011/logo.png?ex=6677d2bb&is=6676813b&hm=972cc87d3da1db0c7b727f3cc51c0a0e4c21bd394edf1cc1433399f3abd2f0c7&"},
];

// Categories
Config.Categories = [
    {label: "Social Networks", default: false},
    {label: "Staff team", default: true}
];

Contributing

We welcome contributions from the community! Feel free to fork the repository, make improvements, and submit pull requests. Please ensure your code follows the project's coding standards and includes relevant documentation.

Support

If you encounter any issues or have questions, please open an issue on the GitHub repository, and we'll be happy to assist you.

fivem-loadingscreen--latest's People

Contributors

zaidqaiser avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

parker6436

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.