Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Project-Sloth/ps-playergroups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archiving Older Repos (Focus on ps-mdt v3)

To help streamline things a bit around here (for the little work we actually do 😅), I’m going to be archiving the repos listed below. This doesn’t mean they’re broken or unusable, it just means we won’t be pushing any further updates to them for now.

Our main focus moving forward will be ps-mdt v3 and its dependencies.

THIS IS NOT A DRAG AND DROP SCRIPT

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.

UI:

image

image

image

Exports:

Client Side

-- 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()

Server Side

-- 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}) 


DMCA Protection Certificate

image

About

A tool to create and get data for player groups.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published