> For the complete documentation index, see [llms.txt](https://nextscripts.gitbook.io/nextscripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nextscripts.gitbook.io/nextscripts/esx-scripts/garage-system/events-and-exports/client/deformation.md).

# Deformation

### Deformation

This will remove the Deformations of the vehicle

```lua
exports['ns_garagesystem']:FixVehicleDeformation(vehicle)
```

```lua
TriggerServerEvent("ns_garagesystem:fixDeformation", NetworkGetNetworkIdFromEntity(vehicle))
```

***

This will set the Deformation example use is after vehicle is Spawned

```lua
exports['ns_garagesystem']:SetVehicleDeformation(vehicle, deformationPoints, callback)
```

```lua
local deformation = exports['ns_garagesystem']:GetVehicleDeformation(vehicle)
```

***

There a one check with that you can check if the deformation equal.

```lua
local state = exports['ns_garagesystem']:IsDeformationEqual(newDef, oldDef) -- Return bool
```
