Installation
Make sure to install and configure av_laptop first. Laptop v3
Please read the entire config files, every config field is explained.
Run the file import_first.sql on your database.
If using filezille or any other FTP software, verify the .json files where uploaded correctly.
Translate: If you want to translate the script modify the config/_lang.lua To translate the UI go to ui/dist/lang.json be extremely careful with this file or you can break the entire UI.
If not using ESX/QBCore/Qbox official versions read Custom Framework/Inventory
Updating to AV Business v2.0
To keep your old business data make sure to ONLY backup your business.json and place it inside the JSON folder, please avoid using old applications.json or bank.json files because the data structure changed, if you try to keep those files it will cause errors on console.
Run the import_first.sql in your Database, this will create a new table named av_billing which is used for the billing system.
A lot of files have changed, some of them have new config fields, make sure to open and configure all of them, you have the full list of files in Discord. Don't copy/paste your old configs because some of the data changed.
In
config/ingredients.lua > Config.Ingredients
I have added a new field named price to every ingredient, this price is used by the Supplies system, make sure to set the price for your existing ingredients.Always make sure to test the script in a test server and if you find an error or feel like something is missing in the script, in this guide or in the docs, feel free to leave me a suggestion in the support channel in Discord.
Last updated