V1.0.5 - working
- QBCore
This repository contains a Lua script for converting and processing vehicle data. The script performs the following tasks:
- Loads old vehicle data from a Lua file named
vehicles.lua
in data folder. - Removes lines with unwanted comments from the loaded data.
- Converts the old data into a new format and organizes it.
- added Total Vehicles Processed and Duplicates Detected
- Creates a LUA representation of the new vehicle data.
- Saves the new data to a LUA file named
vehicles_new.lua
in converted folder.
To use this script, follow these steps:
- Ensure you have a file named
vehicles.lua
with the old vehicle data in the specified format (in data folder). - Run the Lua script provided in this repository.
The script will convert the old data into a new format and save it as vehicles_new.lua
(in converted folder).
This script is provided under the MIT License.
Please note that this script assumes specific data structures and paths. Make sure to adapt it to your project's needs before use.
You can Find this at Line 3 & 96
For any questions or issues, feel free to open an issue or contact the repository owner.
Happy coding!
Grab me a coffee https://ko-fi.com/irishstevie