Client


Client Exports

GetGroupID

Gets the current player's group ID (client-side only).

Location: client/groups.lua

Parameters:

  • None

Returns:

  • number - The group ID, or 0 if not in a group

Example:

local groupID = exports['mad-crimetablet']:GetGroupID()

IsGroupLeader

Checks if the current player is the group leader (client-side only).

Location: client/groups.lua

Parameters:

  • None

Returns:

  • boolean - true if player is the leader, false otherwise

Example:

Last updated