> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/gangs-territory-wars-and-tribute-zones/gang-system-for-esx.md).

# Gang System for ESX

#### Configuration Steps

1. **Disable the Gang System (Use Jobs as Gangs Instead)**
   * Set `useJobsAsGangs` to **true** in `modules/framework/esx/gangs.lua`
2. **Enable the Gang System**
   * Open `modules/framework/esx/gangs.lua`
   * Set `useJobsAsGangs` to **false** in `modules/framework/esx/gangs.lua`
   * Add all your gangs to this file.
   * Run the `esx_gangs.sql` file to apply database changes.
