QBX Installation

1. Modify qbx_core > client > character.lua

  • Modify randomPed Function around line 145 with
local function randomPed()
    local model = `mp_m_freemode_01`
    exports.bl_appearance:SetPedModel(cache.ped, model)
end
  • Modify previewPed Function around line 151 with
local function previewPed(citizenId)
    if not citizenId then randomPed() return end
 
    local appearance = exports.bl_appearance:GetPlayerPedAppearance(citizenId)
    if appearance and appearance.model then
        pcall(function() exports.bl_appearance:SetPlayerPedAppearance(appearance) end)
    else
        randomPed()
    end
end
  • You can choose to remove randomPeds in line 9 because it is no longer used.

2. Remove previous appearance resource

  • Such as illenium-appearance