Kartik Scripts

Exports & Events

Use these to connect other scripts to the gang system. For example, give a gang XP from your heist script, check someone's gang in your phone, or count sales from your own drug script.

๐Ÿ“š Pages

  • ๐Ÿ–ฅ๏ธ Client Exports, Read the local player's gang, rank and status.
  • ๐Ÿ—„๏ธ Server Exports, Gangs, members, money, XP, turfs, restraints and more.
  • ๐Ÿ“ก Events, React to gangs being created, turfs changing hands, wars ending and more.

๐Ÿ”‘ Permission names

Some exports take a permission name. These are the available names:

NamePermission
manageManagement
treasuryTreasury
recruitRecruit
disciplineDiscipline
ranksRank Editor
garageGarage
stashStash
wardrobeWardrobe
furnitureFurniture
warsGang Wars
rivalryRivalries
contractsContracts
marketMarket
medicBlack Medic
launderingLaundering
passSeason Pass
racketRacketeering
turfTurf Control

The gang leader always has every permission.


๐Ÿ’ต Money account names

Exports that take a money account accept:

AccountNames
Clean moneycash, clean, money, balance
Dirty moneydirty, black_money

Server exports become available a moment after the resource starts, once the database has loaded. Called before that, they return an empty result.

On this page