Exports (Client Side)

Client-sided exports

GetJobStage

Returns the active task for the group. If no job is active for the player, returns "WAITING".

-- Params: None
exports["bd-groups"]:GetJobStage()

-- Example:
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.

-- Params: None
exports["bd-groups"]:GetGroupId()

-- Example:
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.

-- Params: None
exports["bd-groups"]:IsGroupLeader()

-- Example:
local isLeader = exports["bd-groups"]:IsGroupLeader()

Last updated