βΊοΈMembers Status
The basics to get Members Status.
QBCore.Functions.TriggerCallback('CheckGroupStatus', function(status, errorMessage)
if status then
Wait(100)
-- Event?
else
lib.notify({
title = 'Example',
position = 'bottom',
description = errorMessage,
type = 'error'})
end
end, GroupID)
You can use this for a pre-task check to require everyone to be ready.
Last updated