
- ESX
- QBCore

BB Multichar replaces the multicharacter selection on QBCore servers. It comes with its own UI and lets you choose which clothing resource it works with.
char_english_only).core = 'qb-core': your core name for the exportsprefix = 'qb-': your trigger prefixnotify = 'QBCore:Notify': your notification triggerchar_english_only = true: blocks character names that are not Englishclothing_base = 'qb': "qb", "raid", "fivem-appearance" or "other"clothing_name = 'qb-clothing': your clothing resource nameDefault support for 2 clothing stores: qb-clothing & raid-clothing.
clothing_base to "qb" even if your core name is different.raid-clothing/client/client.lua: function SetPedMetadata(ped, data) for i = 1, #drawable_names do if data.drawables[0] == nil then if drawable_names[i] == "undershirts" and data.drawables[tostring(i-1)][2] == -1 then SetPedComponentVariation(ped, i-1, 15, 0, 2) else SetPedComponentVariation(ped, i-1, data.drawables[tostring(i-1)][2], data.drawtextures[i][2], 2) end else if drawable_names[i] == "undershirts" and data.drawables[i-1][2] == -1 then SetPedComponentVariation(ped, i-1, 15, 0, 2) else SetPedComponentVariation(ped, i-1, data.drawables[i-1][2], data.drawtextures[i][2], 2) end end end for i = 1, #prop_names do local propZ = (data.drawables[0] == nil and data.props[tostring(i-1)][2] or data.props[i-1][2]) ClearPedProp(ped, i-1) SetPedPropIndex(ped, i-1, propZ, data.proptextures[i][2], true) end Wait(100) if data.headBlend then SetPedHairColor(ped, tonumber(data.hairColor[1]), tonumber(data.hairColor[2])) SetPedHeadBlend(data.headBlend) SetPedHeadBlendData(ped, tonumber(data.headBlend['shapeFirst']), tonumber(data.headBlend['shapeSecond']), tonumber(data.headBlend['shapeThird']), tonumber(data.headBlend['skinFirst']), tonumber(data.headBlend['skinSecond']), tonumber(data.headBlend['skinThird']), tonumber(data.headBlend['shapeMix']), tonumber(data.headBlend['skinMix']), tonumber(data.headBlend['thirdMix']), false) for i = 1, #face_features do SetPedFaceFeature(ped, i-1, data.headStructure[i]) end if json.encode(data) ~= "[]" then for i = 1, #head_overlays do SetPedHeadOverlay(ped, i-1, tonumber(data.headOverlay[i].overlayValue), tonumber(data.headOverlay[i].overlayOpacity)) end SetPedHeadOverlayColor(ped, 0, 0, tonumber(data.headOverlay[1].firstColour), tonumber(data.headOverlay[1].secondColour)) SetPedHeadOverlayColor(ped, 1, 1, tonumber(data.headOverlay[2].firstColour), tonumber(data.headOverlay[2].secondColour)) SetPedHeadOverlayColor(ped, 2, 1, tonumber(data.headOverlay[3].firstColour), tonumber(data.headOverlay[3].secondColour)) SetPedHeadOverlayColor(ped, 3, 0, tonumber(data.headOverlay[4].firstColour), tonumber(data.headOverlay[4].secondColour)) SetPedHeadOverlayColor(ped, 4, 2, tonumber(data.headOverlay[5].firstColour), tonumber(data.headOverlay[5].secondColour)) SetPedHeadOverlayColor(ped, 5, 2, tonumber(data.headOverlay[6].firstColour), tonumber(data.headOverlay[6].secondColour)) SetPedHeadOverlayColor(ped, 6, 0, tonumber(data.headOverlay[7].firstColour), tonumber(data.headOverlay[7].secondColour)) SetPedHeadOverlayColor(ped, 7, 0, tonumber(data.headOverlay[8].firstColour), tonumber(data.headOverlay[8].secondColour)) SetPedHeadOverlayColor(ped, 8, 2, tonumber(data.headOverlay[9].firstColour), tonumber(data.headOverlay[9].secondColour)) SetPedHeadOverlayColor(ped, 9, 0, tonumber(data.headOverlay[10].firstColour), tonumber(data.headOverlay[10].secondColour)) SetPedHeadOverlayColor(ped, 10, 1, tonumber(data.headOverlay[11].firstColour), tonumber(data.headOverlay[11].secondColour)) SetPedHeadOverlayColor(ped, 11, 0, tonumber(data.headOverlay[12].firstColour), tonumber(data.headOverlay[12].secondColour)) end endend Then add export 'SetPedMetadata' at the bottom of the fxmanifest/__resource.lua of the raid-clothing resource.server/functions.lua (the getOtherClothing function) and client/main.lua (search for @other and change the functions there).ensure bb-multichar
Checked: the one resource of this download.
From a static check of the files by the RPScripts Lab. It is not a test that your server starts.
BB Multichar (QB)
$20.99€18.99£15.99A$30.99R$106.99CHF 17.99¥3,320




Izzy Scripts

Can't find the exact script? Generate it.
Describe a custom script. 3 free credits per day, up to 15 per calendar month; no card needed.