Client Exports

Here you can find all client exports.

Check if player is in a job group

local inGroup, uniqueID, groupData, = exports['darrk-groups']:isPlayerInJobGroup(job)
  • job: string

Return:

  • inGroup: boolean

  • uniqueID: string

  • groupData: table

Check if player is a leader of a group

local isLeader, job = exports['darrk-groups']:isPlayerLeaderOfGroup()

Return:

  • isLeader: boolean

  • job: string

Get Player Group

This function could be used to check/get player group id, if you don't want to cache it

Return:

  • uniqueID : string || boolean

Level check

You can use it to check if all members has the same level, you must add playerdata to make this function work

Return:

  • hasLevel: boolean

Hide / Show Job

circle-info

If you want to hide the group by default just add

Into the job shared/sh_main.lua > JobGroups

Must look like this

Can be used with illegal jobs

  • jobname: string

  • show: boolean

Last updated