# Liveries not saving

{% hint style="warning" %}
This is a fix for Benny's (`qb-customs`), not JG Advanced Garages. You will need to take your vehicle to Benny's and re-apply the livery for your existing vehicles in order for this to take effect!
{% endhint %}

This is an issue that can be fixed by making a small modification to `qb-core`

1. Go to `[qb]/qb-core/client/functions.lua`
2. Search (by pressing CTRL+F) for the code below and remove it:

```lua
and GetVehicleLivery(vehicle) ~= 0
```

*The function you modified should now look like this:*

<pre class="language-lua"><code class="lang-lua"><strong>local modLivery = GetVehicleMod(vehicle, 48)
</strong>if GetVehicleMod(vehicle, 48) == -1 then
   modLivery = GetVehicleLivery(vehicle)
end
</code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jgscripts.com/advanced-garages/guides/qbcore-guides/liveries-not-saving.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
