Add Addon vehicles to your Fivem server

Tutoriale, ghiduri de optimizare si suport pentru crearea serverelor.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2948
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Add Addon vehicles to your Fivem server

Post by greenie »

:question: What is the difference with an addon vehicle and replacement?
When it comes to vehicles in fivem, there are 2 types you can add to your server. ~ Starting out, an addon vehicle won’t replace any gta 5 vanilla vehicles (Recommended when it comes to adding many cars to your server.)
Even though most people prefer addon vehicles over replacement vehicles, there is still vehicles out there that you can get to replace other vehicles from gta5mods.com, LSPDFR.com, and other sites that I’m unaware of.
:oncoming_automobile: How to add an ADDON vehicle to your server.
Down below are instructions on how you can add ADDON vehicles to your server, there will also be some vehicles you can use down below that would help get you started!
Find whatever vehicle or vehicle pack you are wanting to add to your server. For this I am going to use these vehicles: LSPD Mega Pack.
Download the pack (If asked to choose which, choose the latest ADDON version.)
Find where you want to put the vehicles in your server. I.e. for me I use a [cars] folder within fivem.
Drag and drop the main containing the stream folder and fxmanifest.lua. (The pack could be outdated and not be using a fxmanifest and instead using a __resource.lua.
If the vehicle pack is not using one, you can view the example fxmanifest.lua that is listed below for help on how to create one for your vehicles to be streamed into the server correctly.

How to add a REPLACEMENT vehicle to your server.
Down below are instructions on how you can add REPLACEMENT vehicles to your server, there will also be some vehicles you can use down below that would help get you started! (It’s the same as basically adding an addon vehicle!)
Find whatever vehicle or vehicle pack you are wanting to add to your server. For this I am going to use these vehicles: LSPD Legacy Pack.
Download the pack (If asked to choose which, choose the latest REPLACEMENT version.)
Find where you want to put the vehicles in your server. I.e. for me I use a [cars] folder within fivem.
Drag and drop the main containing the stream folder and fxmanifest.lua. (The pack could be outdated and not be using a fxmanifest and instead using a __resource.lua.
If the vehicle pack is not using one, you can view the example fxmanifest.lua that is listed below for help on how to create one for your vehicles to be streamed into the server correctly.

Why should you use a [cars] folder instead of manually inputting them?
I know most people are new to the whole developing thing, trust me I was there once. The main reason I’d say use a [cars] folder is because, how FiveM mainly works with folders and files is when you have a folder being ensured via the server.cfg with the name of [cars], the brackets in the name act as a file manager. Basically, what that means is anything that is put into that folder with the brackets will automatically be started on server startup if you have the folder being ensured via server.cfg. I find this method easier for server management, however, you can choose to do things 1 by 1 if you want to.
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Development”