BB-MULTICARATTERE
Installazione
- Trascina e rilascia sul tuo server, ferma qb-multicharacter o qualsiasi multicharacter tu stia utilizzando.
- Modifica la configurazione del server come preferisci per adattarla al tuo server.
- Godere.
Configurazione
CoreConfig = {
core = 'qb-core', -- your core name for the exports
prefix = 'qb-', -- your trigger prefixes
notify = 'QBCore:Notify', -- your notification trigger
char_english_only = true, -- block to option to create character with non english names
clothing_base = 'qb', -- Whether "qb", "raid", "fivem-appearance" or "other"
clothing_name = 'qb-clothing' -- Your clothing resource name
}
Vestiario
Predefinito supporto per 2 negozi di abbigliamento: abbigliamento qb e abbigliamento raid.
- Se stai utilizzando qb-clothing assicurati di impostarlo su "qb" anche se il nome del tuo core è diverso.
- Se utilizzi raid-clothing, assicurati di aggiungere la seguente funzione al tuo client.
[1] Incolla il seguente codice in fondo al tuo file “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[2] Incolla il seguente codice in fondo al tuo file fxmanifest/__resource.lua nella risorsa abbigliamento raid:
esporta 'SetPedMetadata' - Se stai utilizzando altri indumenti negozio, impostalo su “@altro” e assicurati di modificare tutte le funzioni relative all'abbigliamento,
server/functions.lua -> modifica la funzione getOtherClothing.
client/main.lua -> cerca @other e modifica tutte le funzioni presenti al suo interno



UltraUma (proprietario verificato) –
Great quality overall. The animations, interface, and functionality all feel polished.
HunterSarah (proprietario verificato) –
The quality is noticeably better than many alternatives I have tried.
Reagan (proprietario verificato) –
The integration with [ESX/QBCore/Qbox] was smooth and required minimal changes.
Marilie (proprietario verificato) –
Thank you guys for this amazing creation! Absolutely mind-blowing!