This script is used as a tool to create and get data for player groups. There are no jobs or anything included with these files.
-- Returns Client side job stage
exports["ps-playergroups"]:GetJobStage()
-- Returns Clients current groupID
exports["ps-playergroups"]:GetGroupID()
-- Returns if the Client is the group leader.
exports["ps-playergroups"]:IsGroupLeader()
-- Returns group's leader src
exports["ps-playergroups"]:GetGroupLeader(groupID)
-- Returns group's job status.
exports["ps-playergroups"]:getJobStatus(groupID)
-- Sets a group job status.
exports["ps-playergroups"]:setJobStatus(groupID, status)
-- Gets number of players in a group.
exports["ps-playergroups"]:getGroupSize(groupID)
-- Returns player IDs inside a table.
exports["ps-playergroups"]:getGroupMembers(groupID)
-- Creates a blip for everyone in a group.
exports["ps-playergroups"]:CreateBlipForGroup(groupID, name, label, coords, sprite, color, scale, route)
-- Remove a blip for everyone in a group with the matching blip name.
exports["ps-playergroups"]:RemoveBlipForGroup(groupID, name)
-- Finds the groupID the player is currently in. If they are not in any then it returns 0.
exports["ps-playergroups"]:FindGroupByMember(playerID)
-- Triggers event for each member of a group. Args are optional.
exports["ps-playergroups"]:GroupEvent(groupID, eventname, args)
Example: exports["ps-playergroups"]:GroupEvent(groupID, "my:event", {"one", 2, false})