qb-multicharacter
qb-multicharacter copied to clipboard
[ERROR]Please help me for SCRIPT ERROR: @qb-multicharacter
Hello The following error keeps appearing on the console, but it does not go away even after updating qb-multicharacter. Could you please tell me the solution?
[ script:qb-core] [qb-core:LOG] Jelly PLAYER SAVED!
[script:qb-multichara] [qb-core] Jelly (Citizen ID: CCX05018) has successfully loaded!
[script:qb-multichara] SCRIPT ERROR: @qb-multicharacter/server/main.lua:109: attempt to index a nil value
[script:qb-multichara] > rawQuery (@oxmysql/dist/build.js:25047)
[script:qb-multichara] > runMicrotasks (
Same problem here.
no info on this. having the same problem.
Its an issue with discord permissions, you can fix it by allowing FiveM access to discord on the client machine. Here is the relevent line in main.lua.
TriggerEvent("qb-log:server:CreateLog", "joinleave", "Loaded", "green", "**".. GetPlayerName(src) .. "** (<@"..(QBCore.Functions.GetIdentifier(src, 'discord'):gsub("discord:", "") or "unknown").."> | ||" ..(QBCore.Functions.GetIdentifier(src, 'ip') or 'undefined') .. "|| | " ..(QBCore.Functions.GetIdentifier(src, 'license') or 'undefined') .." | " ..cData.citizenid.." | "..src..") loaded..")
Its an issue with discord permissions, you can fix it by allowing FiveM access to discord on the client machine. Here is the relevent line in main.lua.
TriggerEvent("qb-log:server:CreateLog", "joinleave", "Loaded", "green", "**".. GetPlayerName(src) .. "** (<@"..(QBCore.Functions.GetIdentifier(src, 'discord'):gsub("discord:", "") or "unknown").."> | ||" ..(QBCore.Functions.GetIdentifier(src, 'ip') or 'undefined') .. "|| | " ..(QBCore.Functions.GetIdentifier(src, 'license') or 'undefined') .." | " ..cData.citizenid.." | "..src..") loaded..")
How exactly to fix it then please? I am having the same issue. I have the above code, but how to allow it access to discord as you say? thanks.
This issue has had 60 days of inactivity & will close within 7 days
Anything on a fix for this error?
just comment line in qb-multicharacter/server/main.lua -- TriggerEvent("qb-log:server:CreateLog", "joinleave", "Loaded", "green", "".. GetPlayerName(src) .. " (<@"..(QBCore.Functions.GetIdentifier(src, 'discord'):gsub("discord:", "") or "unknown").."> | ||" ..(QBCore.Functions.GetIdentifier(src, 'ip') or 'undefined') .. "|| | " ..(QBCore.Functions.GetIdentifier(src, 'license') or 'undefined') .." | " ..cData.citizenid.." | "..src..") loaded..")
This issue has had 60 days of inactivity & will close within 7 days
just comment line in qb-multicharacter/server/main.lua -- TriggerEvent("qb-log:server:CreateLog", "joinleave", "Loaded", "green", "".. GetPlayerName(src) .. " (<@"..(QBCore.Functions.GetIdentifier(src, 'discord'):gsub("discord:", "") or "unknown").."> | ||" ..(QBCore.Functions.GetIdentifier(src, 'ip') or 'undefined') .. "|| | " ..(QBCore.Functions.GetIdentifier(src, 'license') or 'undefined') .." | " ..cData.citizenid.." | "..src..") loaded..")
Yep
that worked for me thanks