The script shows your team in FiveM ingame when a user joins the support waiting room on the Disord. It is displayed which user is waiting and also how many are waiting. You can freely set in the script which FiveM groups should receive the ad.
I have seen many servers with long waiting times for support, so I decided to help those servers.
Unfortunately, QB-Core is not supported, but multi-channel systems are supported. You can add as many channels as you like! Let me know if you have further questions.
Script works great but it wise i could get it to work for QBCore
I got this errors and have been trying to fix for hours:
[script:DiscordSuppor] SCRIPT ERROR: @DiscordSupportAPI/server.lua:5: attempt to call a nil value (field ‘GetPermission’)
[script:DiscordSuppor] > TriggerCallback (@qb-core/server/functions.lua:340)
[script:DiscordSuppor] > handler (@qb-core/server/events.lua:146)
server.lua
QBCore.Functions.CreateCallback(“supportsystem:getGroup”, function(source, cb)
local xPlayer = QBCore.Functions.GetPlayer(source)
cb(xPlayer.Functions.GetPermission())
end)