Give Gangs & Ranks

This system has a completely different logic for giving Gang to a player, since this is not a job system, the player could have a job and his Gang at the same time. The only way a player could not be Gang is if he is a police officer.

This system is not complex but its use is different from other Gangs assets therefore we must pay full attention to this document to master this asset.


Grade Configuration

First we will learn about the grade system.

This system includes a very basic configuration of degrees, which allows you to add editing or give more ranges to this asset, although we recommend not using this and simply translating it to avoid general problems that you may have if you do not have complete programming knowledge. .

In Config.allowedGrades, we can configure the grades that will have access to withdraw money from the Gang bank, always keep this well taken care of.

Config.Grades = {
    ['none'] = 0,
    ['soldier'] = 1,
    ['underboss'] = 2,
    ['boss'] = 3,
}

Config.LabelGrades = {
    ['none'] = 'None',
    ['soldier'] = 'Soldier',
    ['underboss'] = 'Under Boss',
    ['boss'] = 'Boss',

}

Config.allowedGrades = {
    'boss',
    -- Add more grades with stock permits
}

Give a Gang role to a player as an Administrator

If the player is a police officer, he cannot be invited to a gang for role reasons.

Any administrator who has permissions on the server/custom/framework/*.lua in the PlayerIsAdmin function can use the /setgang id gang rank command, which will allow declaring the id, gang and rank that said player will have.


Give a Gang role to a player as a Boss

If the player is a police officer, he cannot be invited to a gang for role reasons.

If you are the boss of a Gang, you will be able to access your boss menu within the game, the configuration will vary depending on how you have configured each Gang.

Once inside the menu, if you are the boss you will be able to manage both the ranks and roles of each player in your Gang. In this menu we can also hire people close to our Gang quickly.

Last updated