4️⃣Number of Members

The basics to get the number of participants in a group.

    QBCore.Functions.TriggerCallback('--:NumberOfMembers', function(numberOfMembers)
        if numberOfMembers > 0 then
            print("Members: " .. numberOfMembers)
        else
            print("Group not found.")
        end
    end, GroupID)

You can use this practice to make additional payments based on the group or other information.

Last updated