Shopping Cart
How ToVideo Addons how to and converting to an addon

How one can mass add automobiles [Add-on & Replace] – Modding Tutorials


FiveM Modding Tutorial

Hey, that is my first ever tutorial on the boards so be good and provides me some suggestions :slight_smile: Okay so on this submit I’m going that will help you add a great deal of automobiles all into 1 useful resource simple. I’ve not seen a tutorial on this to date and it will have helped me if I noticed this when beginning out. This 100% works with add-ons and inform me down beneath if it doesn’t with change.

Okay, so we begin assuming you have got collected all of the car recordsdata, modification recordsdata, and the .meta recordsdata.

  1. Create the primary useful resource. You’ll be able to title this what you need and it will home all of the automobiles. Be certain so as to add this to the autostart .cfg file that you just use on your server.

  2. Obtain the automobiles you need and get all of the recordsdata you need utilizing openiv or if it comes FiveM Pleasant

  3. You will want a stream folder and an information folder. It will consist of two components.
    a) Within the stream folder create one other folder with the automobiles title and put all of the automobile recordsdata in right here (ytd’s and ytf’s) ensure you keep in mind the title of the stream folder to make issues clear you’ll use it once more.
    b) Open the information file and create a folder with the identical title because the one within the stream folder and that is the place all of the .meta recordsdata might be for this automobile.

  4. Now go into the useful resource.lua (Instance might be hooked up to assist) and for every automobile you add you will want to do the beneath:

    'information/foldername/dealing with.meta',

    data_file 'HANDLING_FILE'                      'information/foldername/dealing with.meta'
    data_file 'VEHICLE_METADATA_FILE'    'information/foldername/automobiles.meta'
    data_file 'CARCOLS_FILE'                          'information/foldername/carcols.meta'
    data_file 'VEHICLE_VARIATION_FILE'   'information/foldername/carvariations.meta'
    data_file 'VEHICLE_LAYOUTS_FILE'       'information/foldername/vehiclelayouts.meta'

It DOES NOT matter in case you should not have one of many recordsdata simply ensure you add all, it really works effective like that for me.

Sooner or later I may be releasing a pack I’ve added to over time, not one of the automobiles are mine however once I launch it I’ll hyperlink it on this subject. Preserve your eyes open :eyes:

__resource.lua (644 Bytes)

I hope this helps you and in case you want any assist or have any ideas for my future posts please go away them beneath!


Unique supply: https://discussion

Leave a Reply
FiveM ESX Scripts

The best scripts and maps

Best support

Problems? We are there to help!

Wide range of products

We have a wide range of products

100% Secure Checkout

Easy and encrypted