Closed BlacknGoldy closed 2 years ago
At a first look, you could try doing this:
if (QBCore.Functions.GetIdentifier(src, 'discord') == '' or QBCore.Functions.GetIdentifier(src, 'discord') == nil) then
discordID = 'Discord was not detected'
else
discordID = QBCore.Functions.GetIdentifier(src, 'discord')
end
TriggerEvent("qb-log:server:CreateLog", "joinleave", "Loaded", "green", "**".. GetPlayerName(src) .. "** ("..discordID .." | ||" ..QBCore.Functions.GetIdentifier(src, 'ip') .. "|| | " ..QBCore.Functions.GetIdentifier(src, 'license') .." | " ..cData.citizenid.." | "..src..") loaded..")
https://github.com/qbcore-framework/qb-multicharacter/blob/a9f9fa73cbb9f1ee385e52e4250ec242e017c610/server/main.lua#L86 https://imgur.com/kmujIp0 it happens when i choose character how can i resolve it ? tnx