Menan AK47
MENAN AK47DOCS
DiscordStore
Navigation
Menu
Welcome
FAQ
ak47_lib
ak47_target
ak47_ambulancejob
ak47_banking
ak47_business
ak47_carboosting
ak47_cardealer
ak47_clothingshop
ak47_crafting
ak47_crime
ak47_crutch
ak47_deliveryjob
ak47_drugdealerv2
ak47_drugmanagerv3
ak47_drugmissions
ak47_ecommerce
ak47_farming
ak47_fishing
ak47_fraudsystem
ak47_fuelstations
ak47_gangs
Integration
Commands
Exports
ak47_garage
ak47_garbagejob
ak47_hookahloungev2
ak47_housing
ak47_hud
ak47_iclothingv3
ak47_idcardv2
ak47_inventory
ak47_jobgarage
ak47_khusbites
ak47_khusland
ak47_leafnlatte
ak47_mafiasupply
ak47_mechanic
ak47_moneywash
ak47_multicharacter
ak47_npcmed
ak47_outfitbag
ak47_playershop
ak47_policejob
ak47_prospecting
ak47_radio
ak47_rentalcar
ak47_safezone
ak47_sitchair
ak47_smokingv2
ak47_supermarket
ak47_switch
ak47_territories
ak47_vehiclekeys
ak47_vipshop
Loaf
DocsMulti FrameworkExports

Exports

Client

GetPlayerGang

Retrieves the gang data table for the local player.

local gangData = exports['ak47_gangs']:GetPlayerGang()
  • Returns: table - Table containing tag, label, rankid, ranktag, and ranklable.

GetCurrentTurf

Retrieves the turf tag at the local player's current location.

local turfTag = exports['ak47_gangs']:GetCurrentTurf()
  • Returns: string - Gang tag associated with the turf, or nil.

GetTurfAtCoord

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
  • Returns: string - Gang tag associated with the coordinates, or nil.

Server

GetPlayerGang

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
  • Returns: table - Table containing tag, label, rankid, ranktag, and ranklable.
Previous
Commands
Next
ak47_garage
On this page
ClientGetPlayerGangGetCurrentTurfGetTurfAtCoordServerGetPlayerGang