Last updated
The Garage Integration section is designed for developers who want to fully integrate the vms_tuning script with their own garage system. Here you'll find detailed explanations and ready-to-use guides to help you adapt your garage system to support advanced vehicle modifications.
In GTA Online, custom tuning options such as:
Wheel Size
Wheel Width
Custom Suspension Height
Wheel Stance
Engine Swap
are not synchronized by default, unlike standard features like vehicle color. This means a custom synchronization system is required - and has been implemented within vms_tuning.
For this synchronization to work correctly, the vehicle must be spawned server-side, and its data (known as vehicle properties) must be assigned to a StateBag under the key VehicleProperties.
You should refer to this section if:
Your garage system does not use ESX.OneSync.SpawnVehicle or does not assign VehicleProperties to the StateBag,
You're experiencing issues with tuning options (such as those listed above) not syncing properly after retrieving a vehicle from the garage.
Last updated