BHD Scripts
  • 📚Documentation
  • Scripts
    • 🖥️BHD Bossmenu
      • Dependencies
      • Instalation
      • Configuration
        • Society Money Log
      • Errors
    • 🚗BHD Garage
      • Dependencies
      • Instalation
      • Configuration
      • Server Configuration
      • Commands
      • Errors
      • Developer Options
        • Exports
          • Client Exports
          • Server Exports
            • Vehicle Object
        • Events
        • Editable Files
          • Client
          • Server
            • editable_server.lua
            • functions.lua
        • Vehicle Images
    • 📜BHD MOT
      • Dependencies
      • Instalation
      • Configuration
    • 🐾BHD Animal Tracker
      • Dependencies
      • Instalation
      • Configuration
Powered by GitBook
On this page
  • Using Pre-Made Vehicle Images
  • Generating Your Own Vehicle Images
  • You have two options:
  • Using Pre-Made Vehicle Images
  • Generating Your Own Vehicle Images
  1. Scripts
  2. BHD Garage
  3. Developer Options

Vehicle Images

This page provides details on how to use images of GTA V vehicles in your scripts.

Previousfunctions.luaNextBHD MOT

Last updated 2 months ago

Using Pre-Made Vehicle Images

If you prefer using pre-existing images, you can download the resource from the following link:

🔗

Once downloaded, you can use it in your script like this:

local img = "nui:/bhd_vehicleimages/img/"..vehicleNameForIMG..".webp"

Alternatively, you can use the direct GitHub link:

local img = "https://raw.githubusercontent.com/bohous04/bhd_vehicleimages/refs/heads/main/img/"..vehicleNameForIMG..".webp"

Generating Your Own Vehicle Images

If you prefer generating your own vehicle images, you need to use the BHD Vehicle Screenshotter. Follow these steps:

Download the Screenshotter

🔗

Required Dependencies

Before running the screenshotter, make sure you have installed the following dependencies:

  • – Background remover

  • – FiveM Library

  • – Screenshot Utility

  • – JavaScript Runtime

  • – Package Manager

Installing rembg

  1. Install rembg-cli-installer.exe.

  2. Open a Windows Terminal and run the following commands:

    pip install rembg
    pip install "rembg[cli]"

Using the Screenshotter

  1. Start rembg in Windows Terminal:

    rembg s --host 0.0.0.0 --port 5000 --log_level info
  2. Navigate to src/server and run:

    pnpm install & pnpm start
  3. Enter FiveM and use one of the following commands:

    • /screenvehicle <model name> – Screenshots a specific vehicle.

    • /screenCurrVeh – Screenshots your current vehicle.

    • /screenallvehicles – Screenshots all vehicles (⚠️ May cause game crashes).

  4. Find the output images in: src/server/uploads.

Additional Notes

  • If using /screenallvehicles, your game may crash due to memory limitations. If this happens:

    1. Reconnect to the game.

    2. Use /saveVehicles to save the progress.

    3. Restart the script to avoid reprocessing already captured vehicles.

  • If vehicles do not fit properly in the screenshot, edit the distanceMultiplier variable to adjust the framing.


This method allows you to have full control over the images used in your scripts. If you need any assistance, feel free to ask in the Discord support channels.

You have two options:

Using Pre-Made Vehicle Images

If you prefer using pre-existing images, you can download the resource from the following link:

Once downloaded, you can use it in your script like this:

local img = "nui:/bhd_vehicleimages/img/"..vehicleNameForIMG..".webp"

Alternatively, you can use the direct GitHub link:

local img = "https://raw.githubusercontent.com/bohous04/bhd_vehicleimages/refs/heads/main/img/"..vehicleNameForIMG..".webp"

Generating Your Own Vehicle Images

If you prefer generating your own vehicle images, you need to use the BHD Vehicle Screenshotter. Follow these steps:

Download the Screenshotter

Required Dependencies

Before running the screenshotter, make sure you have installed the following dependencies:

Installing rembg

  1. Install rembg-cli-installer.exe.

  2. Open a Windows Terminal and run the following commands:

    pip install rembg
    pip install "rembg[cli]"

Using the Screenshotter

  1. Start rembg in Windows Terminal:

    rembg s --host 0.0.0.0 --port 5000 --log_level info
  2. Navigate to src/server and run:

    pnpm install & pnpm start
  3. Enter FiveM and use one of the following commands:

    • /screenvehicle <model name> – Screenshots a specific vehicle.

    • /screenCurrVeh – Screenshots your current vehicle.

    • /screenallvehicles – Screenshots all vehicles (⚠️ May cause game crashes).

  4. Find the output images in: src/server/uploads.

Additional Notes

  • If using /screenallvehicles, your game may crash due to memory limitations. If this happens:

    1. Reconnect to the game.

    2. Use /saveVehicles to save the progress.

    3. Restart the script to avoid reprocessing already captured vehicles.

  • If vehicles do not fit properly in the screenshot, edit the distanceMultiplier variable to adjust the framing.


This method allows you to have full control over the images used in your scripts. If you need any assistance, feel free to ask in the Discord support channels.

Download the latest .

🔗

🔗

– Background remover

– FiveM Library

– Screenshot Utility

– JavaScript Runtime

– Package Manager

Download the latest .

🚗
BHD Vehicle Images Repository
BHD Vehicle Screenshotter Repository
rembg
ox_lib
screenshot-basic
NodeJS
pnpm
release version of rembg
BHD Vehicle Images Repository
BHD Vehicle Screenshotter Repository
rembg
ox_lib
screenshot-basic
NodeJS
pnpm
release version of rembg