esx_multicharacter
Last updated
Last updated
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):