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

codem_multichar

Integration guide for codem_multichar.


Step 1 - Config

In config, set:

Config.Clothes = "rcore_clothing"

Step 2 - Client: detect clothing system

Open config/clothes.lua and add this between if and Config.Clothes == "default" on ~line 2:

Config.Clothes == 'rcore_clothing' or

Step 3 - Client: parse skin data

In the same file, find (~line 10):

if Config.Clothes == 'illenium-appearance' then
    characterData = json.decode(characterData)
    model = characterData['model']

Replace with:


Step 4 - Client: apply skin to ped

Find (~line 100):

Replace with:


Step 5 - Server (ESX): get skin

Open editable/serverframework/esx.lua and find RegisterCallback("m-multichar:server:getSkin", function(source, cb, cid).

Add this code after local src = source:

In the same file, find skin = Appearance[Config.Clothes][playerData.sex or 'm'] and replace with:


Step 6 - Server (QBCore): get skin

Open editable/serverframework/qb.lua and find if (Config.Clothes == "default") then.

Replace with:

Last updated