https://forum.cfx.re/t/paid-esx-qb-realistic-unique-drug-system-target-context-menu-advanced-cutscenes-selling-consuming-first-week-discount-25/4892354
After I purchased this plug-in, I found that my clothing system was not suitable. I hope someone can teach me how to adapt it. I am very grateful.
The clothing system I use is this one called illenium-appearance:https://github.com/iLLeniumStudios/illenium-appearance
–Appearance
local appearance = nil
GetSkin = function()
if Config.Clothing == “fivem-appearance” then
appearance = exports[‘fivem-appearance’]:getPedAppearance(PlayerPedId())
elseif Config.Clothing == “esx_skin” then
TriggerEvent(‘skinchanger:getSkin’, function(skin)
appearance = skin
end)
elseif Config.Clothing == “qb-clothing” then
– no need
elseif Config.Clothing == “custom” then
print(“add your clothing system! in cl_Utils.lua”)
– ADD YOUR CLOTHING SCRIPT
end
end
ApplySkin = function()
if Config.Clothing == “fivem-appearance” then
exports[‘fivem-appearance’]:setPedAppearance(PlayerPedId(), appearance)
elseif Config.Clothing == “esx_skin” then
TriggerEvent(‘skinchanger:loadSkin’, appearance)
elseif Config.Clothing == “qb-clothing” then
TriggerServerEvent(“drc_drugs:loadPlayerSkin”)
–TriggerServerEvent(“qb-clothes:loadPlayerSkin”)
elseif Config.Clothing == “custom” then
print(“add your clothing system! in cl_Utils.lua”)
– ADD YOUR CLOTHING SCRIPT
end
end
How can I modify this