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

ESX vms_multichars

Integration guide for vms_multichars on ESX.


Step 1 - Server: inject skin data

Open vms_multichars/server/main.lua and find characters[id] = { inside SetupCharacters.

Paste this code above it:

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

Step 2 - Client: load skin in SetupCharacter

Open vms_multichars/client/main.lua and find TriggerEvent('skinchanger:loadSkin', skin) inside SetupCharacter.

Replace with:


Step 3 - Client: load skin on character select

In the same file, find this code block in SetupCharacter:

Replace with (remove the TriggerEvent wrapper and end)):


Step 4 - Server: register database tables

Open config/config_server.lua and find Config.UsersDatabase.

Add these entries:


Step 5 - Disable custom skin creator

In config.lua, set:

Last updated