esx_multicharacter
Last updated
Was this helpful?
Last updated
Was this helpful?
This is integration for the new version of esx_multicharacter (>=1.10.9)
If this integration does not match your esx_multicharacter version, please try the .
Open file esx_multicharacter/server/modules/multicharacter.lua
and find characters[id] = {
(inside function SetupCharacters
)
Place this code above the line.
Open file esx_multicharacter/client/modules/multicharacter.lua
and find TriggerEvent("skinchanger:loadSkin", newCharacter.skin)
(inside function Multicharacter:ChangeExistingPed()
)
Replace the line with the following code:
In the same file esx_multicharacter/client/modules/multicharacter.lua
find function Multicharacter:SpawnTempPed()
and inside find
Replace it with this:
In the same file esx_multicharacter/client/modules/multicharacter.lua
find function Multicharacter:PlayerLoaded()
and inside find
Replace it with this:
Open file esx_multicharacter/server/modules/database.lua
Find Database.tables = { users = "identifier" }
And add these entries to the Database.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):