Irishstevie / QB-Veh-converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QB-Veh-converter

V1.0.5 - working

  • QBCore

This repository contains a Lua script for converting and processing vehicle data. The script performs the following tasks:

  1. Loads old vehicle data from a Lua file named vehicles.lua in data folder.
  2. Removes lines with unwanted comments from the loaded data.
  3. Converts the old data into a new format and organizes it.
  4. added Total Vehicles Processed and Duplicates Detected
  5. Creates a LUA representation of the new vehicle data.
  6. Saves the new data to a LUA file named vehicles_new.lua in converted folder.

Usage

To use this script, follow these steps:

  1. Ensure you have a file named vehicles.lua with the old vehicle data in the specified format (in data folder).
  2. 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).

License

This script is provided under the MIT License.

Disclaimer

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!

Support Me

Grab me a coffee https://ko-fi.com/irishstevie

My Discord

https://discord.com/invite/d9AE5WxEDM

About

License:Other


Languages

Language:Lua 100.0%