wais_multichar
Integration guide for wais_multichar.
Step 1 - Config: detection
Open the wais multichar config and find:
Config.Skinchanger =
Config.Appearance =Replace both lines with:
Config.Skinchanger = GetResourceState('skinchanger') == 'started' and GetResourceState('illenium-appearance') ~= "started" and GetResourceState('fivem-appearance') ~= "started" and GetResourceState('rcore_clothing') ~= "started" and true or false or false or false or false
Config.Appearance = GetResourceState('rcore_clothing') == 'started' and 'rcore_clothing' or GetResourceState('illenium-appearance') == 'started' and 'illenium-appearance' or GetResourceState('fivem-appearance') == 'started' and 'fivem-appearance' or GetResourceState('codem-appearance') == 'started' and 'codem-appearance' or falseStep 2 - Server: get skin
Find Config.GetPlayerSkin = function(requiredId, cb) and replace it with:
Config.GetPlayerSkin = function(requiredId, cb)
if GetResourceState('rcore_clothing') == 'started' then
local skinData = exports["rcore_clothing"]:getSkinByIdentifier(requiredId)
if skinData then
cb(skinData.ped_model, skinData.skin)
else
cb(nil)
end
return
endStep 3 - Client: set ped clothing
Find Config.SetPedClothing = function(ped, skin) and replace it with:
Step 4 - Client: character creator
Find this code block inside Config.CreatedNewCharacter (~line 280):
Replace with:
Step 5 - Client: character selected
Find:
Replace with:
Last updated