Page cover image

exports / triggers

Client Exports

Export
Result

exports.brutal_gangs:isPlayerInGangJob()

Returns if the player is in a gang or not.

exports.brutal_gangs:playerGangRank()

Returs the rank of the player in their current gang. If they are not in any gang it will return false.

Server Exports

Export
Result

exports['brutal_gangs']:AddGangReputation(job, amount)

Increases the specified gang's (job) reputation by the given amount.

exports['brutal_gangs']:AddGangMoney(job, amount)

Increases the specified gang's (job) money by the given amount.

exports['brutal_gangs']:GetGangReputation(job)

Retrieves the current reputation value of the specified gang (job).

exports['brutal_gangs']:GetGangMoney(job)

Retrieves the current amount of money the specified gang (job) has.

exports['brutal_gangs']:RemoveGangReputation(job, amount)

Decreases the specified gang's (job) reputation by the given amount.

exports['brutal_gangs']:RemoveGangMoney(job, amount)

Decreases the specified gang's (job) money by the given amount.

exports['brutal_gangs']:GetGangOnlineMember(job)

Retrieves the number of online members in the specified gang (job).

exports['brutal_gangs']:GetGangActiveTask(job)

Returns true or false

exports['brutal_gangs']:GetGangActiveTaskName(job)

Returns the name of the task if anything is even started

exports["brutal_gangs"]:GetPlayerGangName(playerid)

Returns the gang/job name of the specified player if they are in one of the gangs registered in brutal_gangs.

exports["brutal_gangs"]:GetGangs()

Returns the full table of all gangs/jobs registered in brutal_gangs, including their names, labels, grades, and other data.

Last updated

Was this helpful?