# qb-clothing

{% stepper %}
{% step %}

### Find qb-clothing

Find location of qb-clothing on your server inside resources folder
{% endstep %}

{% step %}

### Find function

Go to `qb-clothing/client/main.lua` and find `SaveSkin()`

Replace function with this:

Before Edit:

```lua
local function SaveSkin()
    local model = GetEntityModel(PlayerPedId())
    local clothing = json.encode(skinData)
    TriggerServerEvent("qb-clothing:saveSkin", model, clothing)
end
```

After Edit:

```lua
local function SaveSkin()
    local model = GetEntityModel(PlayerPedId())
    local clothing = json.encode(skinData)
    TriggerServerEvent("qb-clothing:saveSkin", model, clothing)
    TriggerEvent('op-multicharacter:charCreationComplete')
end
```

{% endstep %}
{% endstepper %}
