Vehicle Images
This page provides details on how to use images of GTA V vehicles in your scripts.
Using Pre-Made Vehicle Images
If you prefer using pre-existing images, you can download the resource from the following link:
🔗 BHD Vehicle Images Repository
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
🔗 BHD Vehicle Screenshotter Repository
Required Dependencies
Before running the screenshotter, make sure you have installed the following dependencies:
rembg – Background remover
ox_lib – FiveM Library
screenshot-basic – Screenshot Utility
NodeJS – JavaScript Runtime
pnpm – Package Manager
Installing rembg
Download the latest release version of rembg.
Install rembg-cli-installer.exe.
Open a Windows Terminal and run the following commands:
pip install rembg pip install "rembg[cli]"
Using the Screenshotter
Start rembg in Windows Terminal:
rembg s --host 0.0.0.0 --port 5000 --log_level info
Navigate to
src/server
and run:pnpm install & pnpm start
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).
Find the output images in:
src/server/uploads
.
Additional Notes
If using
/screenallvehicles
, your game may crash due to memory limitations. If this happens:Reconnect to the game.
Use
/saveVehicles
to save the progress.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:
🔗 BHD Vehicle Images Repository
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
🔗 BHD Vehicle Screenshotter Repository
Required Dependencies
Before running the screenshotter, make sure you have installed the following dependencies:
rembg – Background remover
ox_lib – FiveM Library
screenshot-basic – Screenshot Utility
NodeJS – JavaScript Runtime
pnpm – Package Manager
Installing rembg
Download the latest release version of rembg.
Install rembg-cli-installer.exe.
Open a Windows Terminal and run the following commands:
pip install rembg pip install "rembg[cli]"
Using the Screenshotter
Start rembg in Windows Terminal:
rembg s --host 0.0.0.0 --port 5000 --log_level info
Navigate to
src/server
and run:pnpm install & pnpm start
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).
Find the output images in:
src/server/uploads
.
Additional Notes
If using
/screenallvehicles
, your game may crash due to memory limitations. If this happens:Reconnect to the game.
Use
/saveVehicles
to save the progress.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.
Last updated