Configuration

Detailed explanation of all configuration options for mh-cdheist.

Shared Config (config.shared.lua)

Config.Framework = 'esx' -- Framework to use (esx/qb)Config.Locale = 'en'    -- Language file to use from locales/

General Config (config.lua)

💰 Prices & Rewards

  • Config.MissionCost: The price player pays to start the mission.

  • Config.MinReward: Minimum black money reward.

  • Config.MaxReward: Maximum black money reward.

📍 Locations

  • Config.StartPedLocation: Location of the NPC that starts the heist.

  • Config.CarDealerLocation: Main coordinate for the dealership blip.

  • Config.ExplodeDoorLocation: Where the bomb must be placed.

  • Config.DocumentLocation: Location of the stolen documents.

  • Config.KeyLocation: Location where vehicle keys are found.

  • Config.DealerNPCLocation: Location of the "inside man" NPC.

  • Config.PlaceBarrierLocation: Where players can place a barrier object.

  • Config.BarrierSpawnLocation: Exact coordinate for the barrier prop.

  • Config.PickLockDoorLocation: Side door location for lockpicking.

  • Config.DaveLocations: List of possible delivery locations for Dave.

👮 Police Settings

  • Config.RequiredCops: Minimum police officers required to start.

  • Config.PoliceNotifyTime: Delay or duration for police notification blips.

🚗 Vehicle Settings

  • Config.HeistVehicle.models: List of vehicle models that can spawn.

  • Config.HeistVehicle.spawnLocation: Where the stolen car appears.

  • Config.GPSRemovalTime: Time (seconds) it takes to remove the GPS tracker.

📦 Items

  • Config.RequiredItems.bomb: Item name for the explosive.

  • Config.RequiredItems.document: Item name for the stolen docs.

  • Config.RequiredItems.keys: Item name for the car keys.

📄 Logs

  • Config.Logs.webhook: Discord webhook URL for logging heist activities.


Minigames Config (config.minigames.lua)

Define the difficulty and buttons for each interaction:

  • Config.Minigames.PickLock(): Side door entry.

  • Config.Minigames.PlaceBomb(): Main door explosive placement.

  • Config.Minigames.DestroyBarrier(): Removing the placed barrier.

  • Config.Minigames.KeyTrial(): Starting the stolen vehicle.

Last updated