esx_multicharacter

Open file esx_multichar/server/main.lua and find characters[id] = { (inside function SetupCharacters)

Paste the following code above it.

if GetResourceState("rcore_clothing") == "started" then
    if v then
      v.skin = json.encode(exports["rcore_clothing"]:GetSkinchangerSkinByIdentifier(source, v.identifier))
    elseif result and i and result[i] then
      result[i].skin = json.encode(exports["rcore_clothing"]:GetSkinchangerSkinByIdentifier(source, result[i].identifier))
    else
      print("ERROR: Unknown version of multichar")
    end
end

Now it should look like the following image:

Last updated