Retrieves the gang data table for the local player.
local gangData = exports['ak47_gangs']:GetPlayerGang()table - Table containing tag, label, rankid, ranktag, and ranklable.Retrieves the turf tag at the local player's current location.
local turfTag = exports['ak47_gangs']:GetCurrentTurf()string - Gang tag associated with the turf, or nil.Retrieves the turf tag at specified coordinates.
local turfTag = exports['ak47_gangs']:GetTurfAtCoord(coords)| Parameter | Type | Required | Description |
|---|---|---|---|
coords |
vector3 | Yes | World coordinates to check |
string - Gang tag associated with the coordinates, or nil.Retrieves the gang data table for a specified player ID.
local gangData = exports['ak47_gangs']:GetPlayerGang(source)| Parameter | Type | Required | Description |
|---|---|---|---|
source |
number | Yes | Server ID of the player |
table - Table containing tag, label, rankid, ranktag, and ranklable.