Exports
Get Player Gang
-- returns nil if not a gang member or a table with the gang and player info
local gang = exports['av_gangs']:getGang()
if gang then
print(json.encode(gang, {indent = true})
endGet Current Zone
local gang, points = exports['av_gangs']:getZone()
print(gang, points)
local coords = {x = 100.0, y = 100.0, z = 100.0}
local gang2, points2 = exports['av_gangs']:getZone(coords)
print(gang2, points2)Is Player Zone
Get Permissions
Get Interior Info
addToGang(playerId, gang)
removeFromGang(identifier)
getGang(playerId)
getPermissions(playerId)
getGangByName(gang)
registerGang(label,playerId)
setBoss(gang,playerId)
getGangNames()
getGraffitis(gang)
addXP(gang,amount,skipDaily)
removeXP(gang,amount)
getGangXP(gang)
getGangLevel(gang)
getMembers(gang)
getMembersOnline(gang)
getMembersCount(gang)
sendSpray(playerId,gang)
addReputation(playerId,amount)
removeReputation(playerId,amount)
getReputation(playerId)
setCustomDaily(gang,xp)
getDaily(gang)
sendLog(playerId,gang,action,targetGang)
Last updated