Installation Guide

Let's start with the initial installation steps you need to follow to make the script work correctly.

📄 Configuration Guide

This guide covers the configuration options available for the Crime Tablet system. You can customize framework integration, command setup, interaction methods, UI styling, ranks/roles, upgrades, and more.

This resource is fully configurable via config.lua.

Requirement: You must have pinkFrog_organizations installed and properly configured. Without it, the script will not work.


General Settings

Config.frameworkType = 'ESX' -- 'QBCore' / 'ESX' / 'QBOX' / 'CUSTOM'
Config.notifyType = 'OX' -- 'ESX' / 'QBCore' / 'OX' / 'CUSTOM'
  • frameworkType – Select your framework. If you use CUSTOM, configure it inside */editable.lua.

  • notifyType – Select notification system. If CUSTOM, configure it inside */editable.lua.

Config.minimalCrimePlayersToStart = 0

Minimum number of online organization players required to start a zone.

Config.canCheckPlayersFromOrganizationsWhoTakeZone = true

If enabled, checks players from all organizations when starting a zone.

Config.inventoryAddingDropType = 'ox_inventory'
  • ox_inventory – Uses stash system.

  • standard – Gives items directly (works with any inventory system).

Hide zone blips if player is not in any organization.


Interaction Settings

  • Choose interaction type.

  • Set interaction key (default: E = 38).

  • Set interaction distance.

If using drawText3D, you can also configure markers:


Gang Colors

Defines blip color per gang. Colors list: https://docs.fivem.net/docs/game-references/blips/#blip-colorsarrow-up-right


Crime Areas

All zones are configured inside:

Each zone supports:

Basic Settings

  • centerCoords – Main capture point.

  • dropCoordsPlacement – Where the reward crate drops.

  • cooldown – Zone cooldown in seconds.

  • time – Time required to capture zone.

  • distanceArea – Capture radius.

  • weapons – Restrict weapons:

    • all – All weapons allowed.

    • white – Only melee weapons allowed.


Rewards

  • count – Amount given.

  • chance – Percentage chance to receive reward.


Organization Passive Income

When enabled:

  • Zone starts at 100%.

  • Every X seconds:

    • Zone % decreases by 1.

    • Organization receives money.

  • Total income = howMuchMoneyPerUpdate * 100.


Peds

  • Enable/disable AI enemies.

  • Define model, position and weapon.

Optional:

Nearby peds will attack players capturing the zone.


Helicopter Drop

Controls crate air-drop system.


Blip & Zone State

  • disabledGroups – Groups that cannot capture this zone.

  • taken – Zone state.

  • ownerGroup – Current owner.


Localization

You can edit or add translations inside:

Supports:

  • Client notifications

  • UI texts

  • Target texts

  • Server logs

  • Discord log messages


If needed, you can duplicate any zone inside Config.crimeAreas to create additional custom zones.

Last updated