🕸️UI
Here you can find anything about the ui.
How do I even open the UI?
Okay, Can I do it with QBCore permissions instead?
local QBCore = exports['qb-core']:GetCoreObject()
function HasPermission(src)
return QBCore.Functions.HasPermission(src, 'god')
end
QBCore.Commands.Add('queuepanel', 'Opens queue panel', {}, false, function(source, args)
TriggerClientEvent('ts-queue:client:openQueueNui', source, GetPlayersTable())
end, 'god')Last updated