# VehicleDeformation

{% hint style="danger" %}
**If you're using VMS Tuning**, you don't need to make the following changes - [use our prepared Vehicle Properties](https://docs.vames-store.com/assets/vms_tuning/installation).
{% endhint %}

Enter the appropriate vehicle deformation saving in your Vehicle Properties inside the framework:

<details>

<summary>esx path</summary>

`es_extended/client/functions.lua` - `ESX.Game.SetVehicleProperties`

</details>

<details>

<summary>qb-core path</summary>

`qb-core/client/functions.lua` - `QBCore.Functions.SetVehicleProperties`

</details>

<details>

<summary>qbx_core path</summary>

`qbx_core/bridge/qb/client/functions.lua` - `functions.GetVehicleProperties`

`ox_lib/resource/vehicleProperties/client.lua` - `lib.getVehicleProperties`

</details>

<figure><img src="https://3701050178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6y0J5nnTjSyc65fbCvIU%2Fuploads%2FY5RlYbU6mm8tobjETiWT%2Fimage.png?alt=media&#x26;token=2dd6b236-0e4a-4dc5-bcae-573ef5c26f37" alt=""><figcaption></figcaption></figure>

```lua
local deformation = nil
if GetResourceState('VehicleDeformation') == 'started' then
    deformation = exports['VehicleDeformation']:GetVehicleDeformation(vehicle)
end
```

<figure><img src="https://3701050178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6y0J5nnTjSyc65fbCvIU%2Fuploads%2FxW723taBaZPB9n2DTn7a%2Fimage.png?alt=media&#x26;token=06ab2f6d-7c34-48b5-a6b2-3fb593a14ddd" alt=""><figcaption></figcaption></figure>

```lua
deformation = deformation,
```
