> For the complete documentation index, see [llms.txt](https://mscripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mscripts.gitbook.io/docs/qbcore/illegal/qb-gangs.md).

# \[QB] Gangs

{% embed url="<https://www.youtube.com/watch?v=iNYiiMfCBFM>" %}

## Infomation

{% code overflow="wrap" %}

```html
Thank you for choosing our team! 
There's not much to teach, everything is configurable through config.lua, you can create infinite gangs, infinite peds, whatever you want. 
By default all gangs come with 4 identical cars, but the color is different, it also comes with the same craft for everyone so you will have to change it according to what you need :) 
You can also activate and deactivate the craft individually in each gang. I hope you like it!
```

{% endcode %}

## Features

* Optimized
* 0.00ms
* Easy setup
* All configurable
* 8 Pre-configured gangs
* Crafting System for each gang
* Garage System for each gang
* Infinite gangs
* Enable/disable blips (**Config.Blips**)
* Enable/disable crafting (**Config.CraftingLocations**)
* Drug warehouses heist (**Config.Warehouses**)
* Reputation System
* Commands for giving reputation or set reputation on gangs
* Doorlocks for all maps included
* Selling drugs with spawn ped and custom item
* Call to get a drug package delivery
* Custom UI on crafting

## Examples to reputation

```
RegisterCommand('testing', function()
    local gangname = QBCore.Functions.GetPlayerData().gang.name
    TriggerServerEvent('m-Gangs:Server:updateReputation', gangname, value)
end)

- Trigger Server Side: 

TriggerServerEvent('m-Gangs:Server:updateReputation', gangname, value)
```

## Required

**Maps** <https://www.gabzv.com/>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mscripts.gitbook.io/docs/qbcore/illegal/qb-gangs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
