GetGroupID
Gets the current player's group ID (client-side only).
Location: client/groups.lua
client/groups.lua
Parameters:
None
Returns:
number - The group ID, or 0 if not in a group
number
0
Example:
local groupID = exports['mad-crimetablet']:GetGroupID()
IsGroupLeader
Checks if the current player is the group leader (client-side only).
boolean - true if player is the leader, false otherwise
boolean
true
false
Last updated 2 months ago
if exports['mad-crimetablet']:IsGroupLeader() then print("You are the group leader") end