Add Gang

Explanation of How To Add A Gang

To view the current gangs on your server, go to "config/gangs.lua" in your script. Grab one of the gangs from it

```lua
    ["vagos"] = {
        Label = "Vagos",
        BlipColor = 5,
        SprayFile = "spray_vagos",
        GangImage = "nui://mr-gangs/web/images/gangs/vagos.png", -- This is the image that will be displayed in the gang list, You can do it like this if you are saving it in the web folder, or you can do a link
    },
```

The index in the top is the gang name, you will use this to set a gang to certian members, use it in our api and etc The label is the what the player sees everywhere the gang might appear The blip color is the color of the graffiti blip of this gang, you can find the colors here: https://docs.fivem.net/docs/game-references/blips/#blip-colors The spray file is the physical object of the spray. you can add any prop you want, its not limited to what we provided (soon there will be a guide of how to add custom sprays) The gang image is the icon of the gang, the link you see in the code i provided is a path for the images folder in the script, you don't have to use the folder, you can also use external links

Last updated