# Custom gang zone

* Open `rcore_gangs/config.lua`
* Search for `Config.GangZones` - for example `Config.GangZones['SKID']`
* Copy zone like this and duplicate it

```lua
Config.GangZones['SKID'] = {  
    name = 'SKID',  
    label = 'Mission Row',  
    neighbors = {  
        'LMESA',  
        'PBOX',  
        'TEXTI',  
        'RANCHO',  
        'STRAW'  
    },  
    parts = {  
        { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 },  
    },  
    drugPreference = {  
        CATEGORY_LOW = 1.2,  
        CATEGORY_MED = 1.2,  
        CATEGORY_HIGH = 1.2  
    }  
}  
```

Change NAME and label of zone and leave `neighbors = {}`

* In game open Admin Tool and enable coords editor (Vector3)
* Go to the top left corner where you want the zone and get the vector x1 and y1\
  Then go to the bottom right corner of your imaginary zone and get the vector x2 and y2.\
  ![gang zone helper](https://rco.re/docs/gang/new_gang_zone.png)
* Replace coords `{ x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 }` and save `config.lua`\
  **When are multiple rows in `parts = {` the zone is composed of multiple squares and is adjacent to other zones.**
* Open console (F8) and type `ensure rcore_gangs` and confirm it with \[ENTER]


---

# Agent Instructions: 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://documentation.rcore.cz/paid-resources/rcore_gangs/configurations/custom-gang-zone.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.
