qb-multicharacter
Open file qb-multicharacter/client.lua
and find line that starts with RegisterNUICallback('cDataPed',
Next, find line DeleteEntity(charPed)
, should be ~3 lines underneath the RegisterNUICallback.
Insert the following code after DeleteEntity(charPed)
if cData and cData.citizenid then
local eventExists = false
TriggerEvent('rcore_clothing:qb:multichar', {citizenid = cData.citizenid, coords = Config.PedCoords}, function()
eventExists = true
end, function(ped)
charPed = ped
end)
if eventExists then
return
end
end
Now it should look like the following image:

Last updated
Was this helpful?