For the complete documentation index, see llms.txt. This page is also available as Markdown.

crm_multichar

Integration guide for crm-open.


Step 1 - Client: load skin on preview

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

Replace with:

    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

Step 2 - Client: open character creator

Find the second elseif GetResourceState('illenium-appearance') == "started" then.

Replace with:

    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

Last updated