esx_multicharacter OLD
Last updated
Last updated
This is integration for the old version of esx_multicharacter (<1.10.9)
If this integration does not match your esx_multicharacter version, please try the new one.
Open file esx_multicharacter/server/main.lua
and find characters[id] = {
(inside function SetupCharacters
)
Paste the following code above it.
Now it should look like the following image:
Open file esx_multicharacter/client/main.lua
and find TriggerEvent("skinchanger:loadSkin", skin)
(inside function SetupCharacter
)
Replace the line with the following code:
Now it should look like the following image:
In the same file as step 2 (esx_multicharacter/client/main.lua
), find TriggerEvent("skinchanger:loadSkin", Characters[index].skin)
(inside function SetupCharacter
)
Replace the line with the following code:
Now it should look like the following image:
Open file esx_multicharacter/server/main.lua
and find local DB_TABLES
.
Now add these entries to the DB_TABLES variable:
Now it should look something like this (don't copy this, you may have other existing tables defined, this is just an example):