💡Understanding Our Structure

Welcome to our Multiplayer Jobs documentation! Here, we'll explain the structure of our scripts, which are designed to be flexible and easily customizable to meet your needs. Our scripts consist of several folders and files:

Web Folder

This folder contains all the files related to the User Interface (UI). It's an open-source folder, allowing you to edit and customize the appearance of the scripts as needed.

Client Folder

This folder contains three files:

  • client.lua (encrypted): This file contains the main script code, and it's not accesible

  • target.lua (open-source): In this file, you can connect your target system if your Config.useTarget option is set to true.

  • functions.lua (open-source): This file contains various functions called at different moments during the game. You can use this file to connect your custom framework, notifications, and adapt the script to your needs. With numerous functions available, you can modify the script even from the backend perspective.

Server Folder

This folder contains:

  • server.lua (encrypted): This file contains the main script code.

  • functions.lua (open-source): Similar to the client-side functions.lua, this file contains various functions called at different moments during the game. You can use this file to connect your custom framework, notifications, and adapt the script to your needs. With numerous functions available, you can modify the script even from the backend perspective.

Config

The config file is a crucial part of our scripts, as it contains the most important and fundamental options for customization. These options are often in the form of integer or boolean values, allowing you to easily tailor the script to your specific needs.

To modify an option, simply edit the value following the equal sign (=). Each option within the config file is thoroughly described, ensuring a clear understanding of its purpose and functionality.

Here's an overview of what you might typically find in a config file:

  • Enable/Disable Features: You can enable or disable certain features by changing their boolean values (true/false).

  • Default Values: Set default values for various parameters, such as the maximum number of players, spawn locations, or job payout amounts.

  • Time Settings: Adjust time-related settings, such as the duration of specific job stages or cooldown periods between tasks.

  • UI Customization: Choose between two styles of UI

  • Language Settings: Define the language for in-game messages and notifications.

Remember to save your changes after editing the config file. By carefully adjusting the options in the config file, you can ensure that the script works seamlessly with your FiveM server and provides an optimal experience for your players.

End words

By understanding the structure and organization of our scripts, you can easily customize and adapt them to your server requirements. This flexibility ensures that our Multiplayer Jobs scripts will be a perfect fit for your FiveM server.

Last updated