Kartik Scripts

Installation Guide

Follow each step in order.

Step 1: Download

  1. Log in to the CFX Portal with the account you bought the script on.
  2. Download kartik-gangs from Granted Assets.
  3. 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 files

Don't rename the folder. It must be called kartik-gangs.


Step 3: Framework line

  • Qbox: skip this step.
  • QBCore / ESX: open fxmanifest.lua and delete this line:
'@qbx_core/modules/playerdata.lua', -- For QBOX

Step 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 allow

More 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

  1. Restart your server.
  2. Watch the server console. On the very first start, the script creates its database tables and adds the starter content. See Database.
  3. Join the server and type /gangadmin. The admin panel should open.
  4. Follow Getting Started to create your first gang.

Step 7: Make it yours (optional)

WhatWhere
Open the tablet with a keyshared/core.lua โ†’ Tablet โ†’ Keybind
Discord logsshared/core.lua โ†’ Webhooks
Turn features offshared/core.lua โ†’ Features
Police job namesshared/core.lua โ†’ PoliceJobs
Your time zoneshared/core.lua โ†’ UtcOffset
Use your own garage scriptshared/garage.lua โ†’ Mode
Corner selling drug itemsAdmin panel โ†’ Corners

Every setting is explained in Configuration.


๐Ÿ†˜ Something not working?

ProblemFix
Error about qbx_core on startYou're on QBCore / ESX. Do Step 3
/gangadmin does nothingGive yourself admin access
Items show without imagesCopy the images into your inventory's image folder
Using an item does nothingMake sure the item exists in your inventory and the resource was restarted

More answers are in the FAQ.

On this page