You can now find the fivem-appearance documentation at Fivepunch’s resource documentation. A rewrite is planned to match the docs format.
can’t save outfits
use QB: SaveSkin() - not work
use example:
TriggerServerEvent(‘saveCharacterCustomization’, JSON.encode(appearance))
It’s lowercase - json not JSON.
and still not save (table not update)
qb-clothing\client\main.lua
RegisterCommand(‘customization’, function()
local config = {
ped = true,
headBlend = true,
faceFeatures = true,
headOverlays = true,
components = true,
props = true,
tattoos = true
}exports[‘fivem-appearance’]:startPlayerCustomization(function (appearance)
if (appearance) then
TriggerServerEvent(‘saveCharacterCustomization’, json.encode(appearance))
end
end, config)end, false)
RegisterNetEvent(‘loadCharacterAppearance’)
AddEventHandler(‘loadCharacterAppearance’, function (encodedAppearance)
local appearance = json.decode(encodedAppearance)
exports[‘fivem-appearance’]:setPlayerAppearance(appearance)
end)
my script wont work at at im conused on to set it it up correctly to get it to work
Hi, I wanted to make some changes to the UI of the clothing menu, I downloaded the source code and tried installing the dependencies but I keep encountering errors
This and ox_appearance are great examples of baking fivem-appearance into your framework of preference.
You shouldn’t change the default database schema of your framework in favor of a specific script unless you have a good reason.
I discourage any other fivem-appearance fork that requires database changes. Using this resource in your server is as simple as converting fivem-appearance appearance format to your framework default.
is there any way to make the clothing shop not have the scarfs/chains in the menu so i can make a jewelry shop with the chains as items
if i disable the components that i want to will other jobs still be able to access them or i will have to make them all items if i wanna use them
eror
fivem-appearance
RegisterNetEvent(‘fivem-appearance:saveOutfit’, function()
local keyboard = exports[“nh-keyboard”]:KeyboardInput({
header = “Name Outfit”,
rows = {
{
id = 0,
txt = “”
}
}
})
nh-context
RegisterNUICallback(“dataPost”, function(data, cb)
SetNuiFocus(false)
TriggerEvent(data.event, data.arg1, data.arg2, data.arg3)
cb(‘ok’)
end)
yes, it is possible to turn it off in the menu
Hello, how can I change the camera and the position of the character? I want to change it to its location
depends on how you want to change it
Hello there is a problem for some reason not put on the bags and bags immediately disappear, what can or need to do that they were not lost
how do you do that?
so what all does this replace? do i delete the esx skinchanger and esx clothesshops?
get it going?
Prison clothes don’t come out right can you help

