Get count of players currently in queue
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Use the following export if you need to get the count of players currently in queue
-- Returns a number
exports["easy_allowlist"]:getQueueCount()
RegisterCommand("queuecount", function(source, args)
local queueCount = exports["easy_allowlist"]:getQueueCount()
print("Queue count: " .. queueCount)
end, false)
You can add this code in sv_integrations.lua of the script or in any other server side lua file