> For the complete documentation index, see [llms.txt](https://legacydmc.gitbook.io/dynamic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacydmc.gitbook.io/dynamic/fine-tuning-your-vehicle/tuning-your-vehicle.md).

# Tuning your vehicle

With dynamic tuning is now easier and more accessible than ever.\
All tuning options are under a single export, named `loadTunedSetup`

In order to tune a vehicle, you'll need to create your own script to call this export.\
The script must also get the vehicle by a UID, like the number plate, and store the tuning data.\
\
So, that means that you must follow this logic:\
\
Player get's into the vehicle\
\
DB or Your choice of saving system checks for parts, equipments, or anything that you choose that stores the tuning data, for example let's say a upgraded crankshaft.\
\
If it contains a upgraded crankshaft, we consider the powerMultiplier to be 1.1 instead of 1.0\
\
We now call `loadTunedSetup` like so: \
\
`loadTunedSetup(CurrentEngine,TransmissionData,CurrentTyre,PowerMulti,WeightMulti,BrakeMulti)`

This is a simple load/save tuning system logic example. You can ask your back-end programmer or your favorite AI, and it's likely they'll will be able to assist you into developing one, with ease.

{% hint style="warning" %}
**Alternatively, you can check**[ **the dynamic export demo menu**](https://github.com/Nep1337/dynamicSDK/tree/main/dynamic_nativedemo) **to see it in action in game. And use the code as a starting base, with only the save/load system that'll need to be coded, as this type of solution varies from server to server.**
{% endhint %}

<figure><img src="/files/U8fgqETCOggg7abo9Hw1" alt=""><figcaption><p>In game preview of the tuning menu</p></figcaption></figure>

## Useful links:

{% content-ref url="/pages/siSqeg5VJLCKgWODSMLV" %}
[Creating engine swap profiles](/dynamic/fine-tuning-your-vehicle/creating-engine-swap-profiles.md)
{% endcontent-ref %}

{% content-ref url="/pages/VwgXm3zN0uv5cJBSbSZh" %}
[Creating a transmission data](/dynamic/fine-tuning-your-vehicle/creating-a-transmission-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/ky7Rcw03QA21pZmng5fV" %}
[Creating tyre profiles](/dynamic/fine-tuning-your-vehicle/creating-tyre-profiles.md)
{% endcontent-ref %}
