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:
| Name | Permission |
|---|---|
manage | Management |
treasury | Treasury |
recruit | Recruit |
discipline | Discipline |
ranks | Rank Editor |
garage | Garage |
stash | Stash |
wardrobe | Wardrobe |
furniture | Furniture |
wars | Gang Wars |
rivalry | Rivalries |
contracts | Contracts |
market | Market |
medic | Black Medic |
laundering | Laundering |
pass | Season Pass |
racket | Racketeering |
turf | Turf Control |
The gang leader always has every permission.
๐ต Money account names
Exports that take a money account accept:
| Account | Names |
|---|---|
| Clean money | cash, clean, money, balance |
| Dirty money | dirty, 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.