πŸ‘ΏGangs

Need help adding gangs?

Adding Gangs

One quick note you add people to gangs using the following command

/setgang (id) (gangname) (rank)

Remove gang ranks using the following

/setgang (id) (gangname) (-1)

Leaders can do this for themselves at the management location but helpful for staff members to know also ok now onto adding gangs

Step 1

Head Into rd_gangs config.lua copy lines 3-17 and paste directly below

Step 2

Now paste it directly below line 17 (changing the locations and color should be self explanatory)

Now it should look like this "mafia" would be the gang name this is important to remember for the next steps

Step 3

open the gangs SQL table inside of your database

Right click inside of your "gangs" table in the database and select insert row now the ID must not match an existing number then you will use the "mafia" as the name as defined above this is why i said its going to be important to remember what the exact name of the gang is you added dont add anything to the inventory and the leadership rank can be as high as you want if you have alot of gang roles below it

Step 4

Now head over to the "gang_ranks" table in your database

Now for the ID same steps as before make sure you don't have 2 of the same number the name doesn't matter much just make sure no capital letters or space bars (you can have the same name as other gang ranks you just cant use the same on inside of the same gang) use number 1 and number 4 for example

Next the label will be what is displayed in the server as the rank so if its "topshooter" make it Top Shooter so it will display "Mafia - Top Shooter"

Gang name must be the same as inside of the config and gang database all 3 should match that same "mafia" name

Ranking is simple 0 for Recruits 1 for Shooter 2 for Top Shooter 3 for Leader etc etc

Thats it make sure to save everything and it will be available to assign to players in the server

Changing Colors

Head into the main.css file and change everything thats set to red to whatever color you desire

Last updated