TriggerServerEvent('bp_clothingv2:checkcharacter')
local model,headBlend,headOverlay,headStructure,drawables,props,drawtextures,proptextures,haircolor =exports['bp_clothingv2']:getplayerclothing(xPlayer.identifier)
local ped = PlayerPedId() OR CreatePed id
TriggerEvent('bp_clothingv2:pedyukle', ped,model,headBlend,headOverlay,headStructure,drawables,props,drawtextures,proptextures,haircolor)
TriggerEvent('bp_clothingv2:jobclothing', {['tshirt_1'] = 15,['tshirt_2'] = 3,['torso_2'] = 1, ['torso_1'] = 18, ['shoes_1'] = 5,['vest_1'] = 10 ,['pants_1'] = 15, ['mask_1'] = -1 , ['hats_1'] = 5, ['hats_2'] = 1})
You can add and remove job clothing like that . (list like : tshirt_1,tshirt_2,torso_1,torso_2,pants_1,pants_2, shoes_1, shoes_2 .. etc.)
exports['bp_clothingv2']:deleteplayerclothing(xPlayer.identifier or Player.PlayerData.citizenid)
FIRST YOU NEED GO BP_CLOTHINGV2 > CONFİG.LUA AND DO FALSE Config.playerload = false and watch the video
####Support is not given because all settings are made for esx_skin. I'm just throwing a version that you can use without installing peds
LINK : MULTICHARACTER.
LINK : QB-MULTICHARACTER-EXAMPLE.
RegisterNetEvent('apartments:client:ChangeOutfit', function()
TriggerServerEvent("InteractSound_SV:PlayOnSource", "Clothes1", 0.4)
TriggerEvent('bp_clothingv2:wardrobevent')
end)
RegisterNetEvent('qb-houses:client:ChangeOutfit', function()
local outfitLoc = vector3(outfitLocation.x, outfitLocation.y, outfitLocation.z)
if CheckDistance(outfitLoc, 1.5) then
TriggerServerEvent("InteractSound_SV:PlayOnSource", "Clothes1", 0.4)
TriggerEvent('bp_clothingv2:wardrobevent')
end
end)
RegisterNetEvent('qb-bossmenu:client:Wardrobe', function()
TriggerEvent('bp_clothingv2:wardrobevent')
end)
RegisterNetEvent('qb-gangmenu:client:Warbobe', function()
TriggerEvent('bp_clothingv2:wardrobevent')
end)