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.
Alternatively, you can check 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.