How To Add Custom Cars to Your FIVEM Server (2024) DETAILED TUTORIAL

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello welcome back to another tutorial today I'm going to show you guys how to add custom cars to your 5m server uh for this tutorial we're going to be using gta5-mods.com you can see it's right here www. gta5-mods.com um I will leave the link in the description so you can easily access this uh for this tutorial we're going to be using this car so once you go into gta5mods.com you're going to go to Vehicles you're going to find whatever car you want to add um you want to look for cars that are add-ons SL replace or just add-ons um don't get ones that are for if you're looking to put these in your server don't put don't look up ones for V menu and um menu uh anything like that single player try to try to avoid those you want to get the ones that say add-on or replace so you'll click download I already know this one works some of these work some of them don't work you to kind of Base to Base you know they they're Hit or Miss sometimes depends on who makes them I already have this downloaded but I'm going to show you how to do it the step by step to add it into your server the correct way and then I'm going to show you how to make it ownable by you and or your players okay so once you have downloaded you can actually close this out it'll bring you up a folder like this with whatever car is in there um some of them will already be ready 5m ready if they're 5m ready they'll take a little bit less time to do um for this one it is not 5m ready so what you want to do is you want to open up a program you want to go find this program on Google uh it's free it's called open IV you want to install this and then it'll ask you for your directory for your GTA5 folder I'm sure there's plenty of tutorials out there to show you how to get open IV I'm not going to show you in this one detailed um but I can leave a link in the description to another tutorial for you guys so once you've installed open IV you want to click on Grant Theft Auto 5 windows so you'll click that it'll do this it'll open up and start up it'll pull all your Grant Theft Auto files this is just a way to extract some of these DLC RPF files so once you've getting if you got a car that's like this you're going to just drag it to this open area right here in open IV just in this little spot right here you don't need to put it in here no folder just right in this little area and once you do that it's going to be like this you're going to get a data folder xt4 folder these going to have your cars and then your meta files in it so what you want to do you go to your desktop or anywhere just anywhere you feel comfortable wherever you're going to remember it's at and create a new folder leave it new folder for now what I like to do for my server I'll go here let me come back I'll click x64 Vehicles RPF and then ignore this you don't want these um don't worry about this just get the YTD the high Y yft and then the yft just these so you want to open up this you want to make a new folder inside of this folder and you're going to name it stream okay so this looks a little weird I'm not sure why mine looks like this there we go details so it'll look like this normally okay so you're going to create a stream folder um you're going to draag drag these three files like this into your stream folder and then once you see they'll be in there this is what I'm going to name my folder just to make it easier so I can remember my spawn code this is how I do it you guys don't have to uh this is how I do it though so I'm going to end up naming the folder exor uh I think this is like the Exorcist Camaro something like that so I'm going to name it exor that's what the the folder is going to be called but for now we're going to go back um you don't need these data folders they just have language language things in them you don't need them uh you want to go back to your data and you'll want to copy all of this but you don't want to put it in your stream the stream is only for the car uh for the car textures you want to go back one and where it says stream you want to take these and you're going to put it right below it these are going to be your meta folder or your met files um your handling uh and so on stuff like that that you know goes with the car uh you're going to make sure I would make sure that just as a no precaution just so you don't wonder why something's not working I always right click here uh edit with notepad or open with whatever you can view this with and you want to make sure that this one two three four these first four and the vehicle meta you want to make sure all those are the same this doesn't matter if it's capitalized but for my liking I'll lowercase it just to make it all match this is going to be your spawn code this is what your card name is going to be so you're going to save that going to close it back up and assuming that these are all the same um these you don't have to worry about these too much usually I would just mainly worry about this one so you're going to have your stream folder with your yft YTD and then your Highway yft and you're going to have outside of that stream folder you're going to have just your stream folder and then you're going to have your metas and you're going to need one more thing which is going to be a resource Lua now I like to use an existing resource L that I know is going to work so I go to one of my other cards um I will leave this in a Google Drive Link for you guys to download absolutely free if you guys want to use use this you can use this for any car this can be a resource lad that you use for every car that you add on as I have done the same for my server and you can see in my main server I have all these cars all of these cars work for me and I've used the same exact resource Lua for every single one of these and they all work perfectly fine um mine are named a little different because I like to have mine organized but that doesn't matter okay so we're going to find that let me find this that I'm going to link I will say we'll just click this one we're going to bring this resource folder out or resource Lua out my bad and then it's going to be over here and I'm going to drag and drop that into my folder as well so this is what it's going to look like it's going to be stream all of your meta files and it's going to have a resource LA and then you're going to name it to whatever you want to name it I'm going to name mine exor because it matches the spawn code once you're done with this you can close all this out now this is your fully working car I will show you that I already have this in my server and I won't need to add it again but for the tutorial I will show you exactly what you would do so in your main folder your resources folder th this might not look the same for you depends on how you're hosted if you're local hosted or not but either way it's all the same when it comes down to it you go to your resources I have a separate folder for my imports um this one was called EXO R so I'll scroll down to the E and as you can see it's right here EXO R now what you want to do before you start up your server and try to spawn this car in what you want to do is you want to go to your QB core there we go QB core folder you want to go to Shared then you want to go to the vehicles L you want to right click that open it and I have a lot of cars in here so it's going to be a pretty big list but what you will do you can use any of these any of these base cars right here if you wish to um mine this is how I set it up I will let you guys look at this for a minute you guys can copy this if you need to um you can do whatever you need to do however to copy this to make it work what I do is I will highlight the last one I'll do shift enter it'll go directly below it and then contrl V that'll paste it and then for the car spawn code is going to be EXO R because that's what we named it in the vehicle's meta and you want to do that for that one the line below it this one the model and then you want to go to the hash XO so you want to have it for the main one the name the model and the hash and then just make sure you don't mess any of this up don't add another character you won't have it you'll have a black screen you will black screen if you mess any of this up because it is in the QB core folder you'll get a save um this is actually a car that somebody wanted in my server so I actually just put this in earlier now I'm making it able to be garaged and ownable so this is how you do this this is exactly what you'll have to do every time to make it garageable and be able so they can park it pull it out Etc so then you can close your folder that you put all your resources in I don't need this anymore because I already told you I had it I will open up my 5m and I did not put this in my Affinity test I actually put this in my main folder or my main server which is right here um we'll load into this right now go ahead and connect to it okay and as you can see I'm loading into my server I've turned it down just so I don't get um in trouble on YouTube you know how they are with music um on here you won't get any trouble for putting music on your server obviously but on YouTube you will so that's why I've muted it right now right now it's just loading up all my resources and then it's going to load me in to my server and then I'm going to go on here now when you add a car let me make it daytime here so we can actually see okay so just go down here oh all right we're going to PO down here so we don't kill [Music] ourselves okay um every time you put a car in you will want to make sure you put it in the list of vehicles for the vehicles Lua so you can actually own the car if you don't want to own the car you can just keep it in the server without adding it to the vehicle Lu and then you can just spawn it if you want to with the spawn code um I have people that want them in their valet on their phone and their garages so I had to put them in there so people can pull them back out without me having to give them to them again so you will do you can do a slash car and then space and then whatever the spawn code for the car is which mine is EXO are I have already put this in here so I know it works and as you can see this is the [Music] car so as you can see the car works it has sound um you can adjust handling and everything else as you need to I will not be going over that in this tutorial um but there are plenty tutorials on how to adjust H how to add custom liveries and such and so on and so forth to your cards I hope you guys enjoyed this tutorial and I hope you guys find this useful if you guys have any questions you guys can leave a comment in the section below uh subscribe if you guys want to see more tutorials like this and helpful tips on your 5m server and hope you guys enjoyed and I'll see you guys in the next video
Info
Channel: Affinity
Views: 326
Rating: undefined out of 5
Keywords: How to, FiveM, Custom Cars, Addon vehicles, tutorial, QBCore, scripts, Tebex, custom scripts, roleplay server, gta, gta 5, gta online, mods, custom server, QBCore server, FiveM server, how to add custom cars FiveM, create FiveM server, servers, game servers, affinity roleplay, affinityrp, Tutorial how to add vehicles, cars, gaming, hosted servers
Id: skor3ql20kg
Channel Id: undefined
Length: 13min 58sec (838 seconds)
Published: Sat Mar 02 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.