Open a Windows Terminal and run the following commands:
Using the Screenshotter
Start rembg in Windows Terminal:
Navigate to src/server and run:
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.