Exports (Client Side)
Client-sided exports
GetJobStage
Returns the active task for the group. If no job is active for the player, returns “WAITING”.
local stage = exports["bd-groups"]:GetJobStage()
GetGroupId
Returns the group id for the active group. If no group is active for the player, returns -1.
local groupId = exports["bd-groups"]:GetGroupId()
IsGroupLeader
Returns whether or not the player is leader of the active group. If no group is active for the player, returns false.
local isLeader = exports["bd-groups"]:IsGroupLeader()