> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_clothing/integration/qb_multichar.md).

# qb-multicharacter

Integration guide for `qb-multicharacter`.

***

## Steps

Open `qb-multicharacter/client.lua` and find the line starting with `RegisterNUICallback('cDataPed',`.

Find `DeleteEntity(charPed)` \~3 lines below it. Insert the following code **after** that line:

```lua
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
```
