Installation Guide
Follow each step in order.
Step 1: Download
- Log in to the CFX Portal with the account you bought the script on.
- Download kartik-gangs from Granted Assets.
- Extract the zip.
Step 2: Add the resource
Place the folder in your server's resources:
resources/
โโโ [kartik]/
โโโ kartik-gangs/
โโโ fxmanifest.lua
โโโ images/ โ item images
โโโ locales/ โ translations
โโโ shared/ โ config filesDon't rename the folder. It must be called kartik-gangs.
Step 3: Framework line
- Qbox: skip this step.
- QBCore / ESX: open
fxmanifest.luaand delete this line:
'@qbx_core/modules/playerdata.lua', -- For QBOXStep 4: server.cfg
Open your server.cfg and make sure kartik-gangs starts after everything it uses:
ensure ox_lib
ensure oxmysql
# Framework
ensure qbx_core # or qb-core / es_extended
# Inventory & target
ensure ox_inventory # your inventory
ensure ox_target # your target (optional)
# Your other scripts: garages, keys, fuel, dispatch, clothing...
# Gangs
ensure kartik-gangs
# Admin panel access
add_ace group.admin kartikgangs.admin allowMore ways to give admin access are on the Admin Access page.
Step 5: Items
Add the gang items and images to your inventory:
Step 6: First start
- Restart your server.
- Watch the server console. On the very first start, the script creates its database tables and adds the starter content. See Database.
- Join the server and type
/gangadmin. The admin panel should open. - Follow Getting Started to create your first gang.
Step 7: Make it yours (optional)
| What | Where |
|---|---|
| Open the tablet with a key | shared/core.lua โ Tablet โ Keybind |
| Discord logs | shared/core.lua โ Webhooks |
| Turn features off | shared/core.lua โ Features |
| Police job names | shared/core.lua โ PoliceJobs |
| Your time zone | shared/core.lua โ UtcOffset |
| Use your own garage script | shared/garage.lua โ Mode |
| Corner selling drug items | Admin panel โ Corners |
Every setting is explained in Configuration.
๐ Something not working?
| Problem | Fix |
|---|---|
Error about qbx_core on start | You're on QBCore / ESX. Do Step 3 |
/gangadmin does nothing | Give yourself admin access |
| Items show without images | Copy the images into your inventory's image folder |
| Using an item does nothing | Make sure the item exists in your inventory and the resource was restarted |
More answers are in the FAQ.