wais_multicharacter v2
Open wais multichar's config and find the following two lines that start with
Config.Skinchanger =
Config.Appearance = and replace them 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 -- ESX Frameworks are also for detecting skinchange usage. Don't touch it.
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 false -- Appearance name for the script to detect and use the appearance system.Next find the following line of code 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
endNext find the following line of code Config.SetPedClothing = function(ped, skin) and replace it with
Config.SetPedClothing = function(ped, skin)
-- It is a function to load the clothes of the pads in the character menu.
if GetResourceState('rcore_clothing') == 'started' then
exports['rcore_clothing']:setPedSkin(ped, skin)
return
endNext find the following code block inside Config.CreatedNewCharacter = function(data) around line ~280
and replace it with the following code
Next find the following code block
and replace it with the following codeblock
Last updated
Was this helpful?