So i've just added qb-anticheat to protect the server against people, that want to use any kind of triggers to ruin it.
But when I got it added and started up the server, right after I join I get this error.
When I look at the code in qb-anticheat I see this:
function GetPermissions()
QBCore.Functions.TriggerCallback('qb-anticheat:server:GetPermissions', function(_group)
for k,_ in pairs(_group) do -- This line that has some bad arguments
if Config.IgnoredGroups[k] then
checkUser = false
break
end
checkUser = true
end
end)
end
It has a handler in qb-core which is this:
RegisterNetEvent('QBCore:Client:TriggerCallback', function(name, ...)
if QBCore.ServerCallbacks[name] then
QBCore.ServerCallbacks[name](...) -- This line is the handler
QBCore.ServerCallbacks[name] = nil
end
end)
Both scripts are latest versions.
Any idea or fix for this ?
So i've just added qb-anticheat to protect the server against people, that want to use any kind of triggers to ruin it. But when I got it added and started up the server, right after I join I get this error.
When I look at the code in qb-anticheat I see this:
It has a handler in qb-core which is this:
Both scripts are latest versions. Any idea or fix for this ?