Creating an engineswap profile

Creating an enginedata profile is a great way of adding more customization for your vehicles. In order to create a engine profile, you'll need to call an export to collect the necessary data to fill the engineswap.lua profile, and you can do so by creating a lua resource and paste the following code:

local chaser = exports['legacydmc_chaser']

RegisterCommand("getengswapdata", function()
    if chaser:chaser_getloadstatus() then
        chaser:chaser_getengineswapdata()
    end
end, false)

Then, inside a car type the "getengswapdata" command and you'll see that in the F8 console, it will give you the necessary information to fill in the enginedata.lua profile

Now, go into our tutorial about the "enginedata.lua" file to learn how to properly create a engine profile!

enginedata.lua

Last updated