# crm\_multichar

In `crm-open/crm-client.lua` find first `elseif GetResourceState('illenium-appearance') == "started" then`

And replace it with

```lua
    elseif GetResourceState('rcore_clothing') == "started" then
        local skin = exports["rcore_clothing"]:getSkinByIdentifier(crm_get_by)
        exports.rcore_clothing:setPedSkin(crm_ped, skin.skin)
    elseif GetResourceState('illenium-appearance') == "started" then
```

Then find second occurence of `elseif GetResourceState('illenium-appearance') == "started" then`

And replace it with

```lua
    elseif GetResourceState('rcore_clothing') == "started" then
        if crm_frameworks.crm_is_qbcore() then
            TriggerEvent('qb-clothes:client:CreateFirstCharacter') 
        end
        if crm_frameworks.crm_is_esx() then
            TriggerEvent('rcore_clothing:esx:charcreator')
        end
    elseif GetResourceState('illenium-appearance') == "started" then
```
