Common Issues
Player loses their chain when rejoining
This is your qb-policejob doing this. It's trying to reset the tracker from player clothing when the tracker is a part of chain item. You can fix the problem by removing the tracker part.
AddEventHandler('QBCore:Client:OnPlayerLoaded', function()
local player = QBCore.Functions.GetPlayerData()
PlayerJob = player.job
isHandcuffed = false
TriggerServerEvent("police:server:SetHandcuffStatus", false)
TriggerServerEvent("police:server:UpdateBlips")
TriggerServerEvent("police:server:UpdateCurrentCops")
if player.metadata.tracker then
local trackerClothingData = {
outfitData = {
["accessory"] = {
item = 13,
texture = 0
}
}
}
TriggerEvent('qb-clothing:client:loadOutfit', trackerClothingData)
else
local trackerClothingData = {
outfitData = {
["accessory"] = {
item = -1,
texture = 0
}
}
}
TriggerEvent('qb-clothing:client:loadOutfit', trackerClothingData)
end
if PlayerJob and PlayerJob.name ~= "police" then
if DutyBlips then
for _, v in pairs(DutyBlips) do
RemoveBlip(v)
end
end
DutyBlips = {}
end
end)
Path: qb-policejob/client/main.lua
Custom Faces & Skins are missing
Set max values in skinchanger/config.lua
Config.MaxFaces = {
male = 45,
female = 45,
}
Config.MaxSkinColors = {
male = 15,
female = 15,
}
Last updated