πŸ§‘β€πŸ¦²Custom skin system

To adapt the script to another skin system, here you can find the functions that need to be adapted

CLIENT

if Config.PlayerSkinSystem == "custom" then
    PlayerSkinSystem = {
        SetOutfit = function(components, props)
            exports['custom']:setPedComponents(cache.ped, components)
            exports['custom']:setPedProps(cache.ped, props)
        end,
        GetComponents = function()
            return exports['custom']:getPedComponents(cache.ped)
        end,
        GetProps = function()
            return exports['custom']:getPedProps(cache.ped)
        end,
    }
end

If your system does not differentiate between components and props, you can simply pass all the information of the skin in one of the 2 parameters and when applying the skin on the character only use that parameter.

πŸ“£ Remember that you can use the other configurations already made as a guide.

Last updated