Addon Vehicles
Last updated
Last updated
First thing first, your addon vehicles names... Fivem doesn't know how your addon vehicles are named so we need to register them.
Go to vehicleshop/client/editable/names.lua and add your addon vehicles in customNames table, make sure to put the correct spawn name (model).
This step is optional, to generate the vehicle thumbnail you have 2 options:
1) Use a greenscreen script that takes images, an option can be this one: https://github.com/Bentix-cs/fivem-greenscreener
fivem-greenscreener is NOT my script, I don't give any support for it and if it gets removed from Github by its owner then GG, there's nothing I can do about it. Read his own documentation.
2) Use images from Vecteezy (I use this option):
Get a Premium sub from https://www.vecteezy.com/ (is like $5 USD)
Search any vehicle you need a thumbnail (example a corvette) and download it:
Make sure to resize the image and change it format to webp so it can load fast (I use Photoshop).
Host the image in Fivemerr or Fivemanage.
Link the vehicle image to your vehicle using the admin panel.
Don't use Discord or Imgur as image hosting, images will stop working and you will need to upload them again...
If you're not sure which dimensions to use, most dimensions will work, but make sure the file size is small and the vehicle fills the entire frame. Here's an example: