> For the complete documentation index, see [llms.txt](https://docs.tehsteel.dev/tehsteels-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tehsteel.dev/tehsteels-development/ts-10system/troubleshooting.md). Agents can also search and read this documentation through its [MCP server](https://docs.tehsteel.dev/tehsteels-development/~gitbook/mcp).

# Troubleshooting

Some common question and "issues"

## Why do people disconnect from the server, yet I still see them on the ts-10system?

### Explanation

This happens when you don't use the latest version of QBCore with the latest trigger `QBCore:Server:PlayerDropped`, or if there are issues with the framework files in the ts-10system files.

### **So how do we fix it?**

Make sure to download the latest version of ts-10system with the framework files. After that, open your `qb-core/server/events.lua` and search for the `playerDropped` event. If you don't see the trigger `QBCore:Server:PlayerDropped`, just add it:

```lua
TriggerEvent('QBCore:Server:PlayerDropped', Player)
```

It should look like this:

```lua
AddEventHandler('playerDropped', function(reason)
    local src = source
    if not QBCore.Players[src] then return end
    local Player = QBCore.Players[src]
    TriggerEvent('qb-log:server:CreateLog', 'joinleave', 'Dropped', 'red', '**' .. GetPlayerName(src) .. '** (' .. Player.PlayerData.license .. ') left..' .. '\n **Reason:** ' .. reason)
    TriggerEvent('QBCore:Server:PlayerDropped', Player)
    Player.Functions.Save()
    QBCore.Player_Buckets[Player.PlayerData.license] = nil
    QBCore.Players[src] = nil
end)
```

## People change their callsign and it dosen't update what should I do?

### **So how do we fix it?**

You will need to find your callsign command and you will need to insert this trigger.

```lua
TriggerEvent('QBCore:Server:CallsignChange', src, callsign)
```

Should look like this:

{% code title="qb-policejob/server.main" %}

```lua
QBCore.Commands.Add('callsign', Lang:t('commands.callsign'), { { name = 'name', help = Lang:t('info.callsign_name') } }, false, function(source, args)
    local src = source
    local Player = QBCore.Functions.GetPlayer(src)
    Player.Functions.SetMetaData('callsign', table.concat(args, ' '))
    TriggerEvent('QBCore:Server:CallsignChange', src, table.concat(args, ' '))
end)
```

{% endcode %}
