# Config

### Config .lua

```lua
Config = {}

Config.UseEsx = false -- If you use Esx set this to true

Config.Core = 'qb-core' -- Export for your qbcore server

Config.Export = 'mv-hud' -- Dont change this

Config.UseMVTarget = true -- If you use mv-target set this to 'true' | 'false' if you dont use mv-target

Config.Target = 'mv-target' -- Dont change this

Config.FuelExport = 'mv-fuel' -- Change this to your fuel system

Config.UseMenu = true -- If you want use the /hud menu set this 'true' | 'false' every player will take the same HUD from defaultHUD.json

Config.NotWeapons = { -- Weapons will not appear on weapons HUD
  `weapon_unarmed`,
  `weapon_flashlight`,
  `weapon_briefcase`,
  `weapon_briefcase_02`,
  `weapon_briefcase_02`,
  `weapon_garbagebag`,
  `weapon_bread`,
  `weapon_petrolcan`,
  `gadget_parachute`,
  `WEAPON_Knife`,
  `WEAPON_Nightstick`,
  `WEAPON_HAMMER`,
  `WEAPON_Bat`,
  `WEAPON_Crowbar`,
  `WEAPON_Golfclub`,
  `WEAPON_Bottle`,
  `WEAPON_Dagger`,
  `WEAPON_Hatchet`,
  `WEAPON_KnuckleDuster`,
  `WEAPON_Machete`,
  `WEAPON_Flashlight`,
  `WEAPON_SwitchBlade`,
  `WEAPON_Poolcue`,
  `WEAPON_Wrench`,
  `WEAPON_Battleaxe`,
  `WEAPON_Grenade`,
  `WEAPON_StickyBomb`,
  `WEAPON_ProximityMine`,
  `WEAPON_BZGas`,
  `WEAPON_Molotov`,
  `WEAPON_FireExtinguisher`,
  `WEAPON_PetrolCan`,
  `WEAPON_Flare`,
  `WEAPON_Ball`,
  `WEAPON_Snowball`,
  `WEAPON_SmokeGrenade`,
}
```

### Config .json

```json
{
  "hud": {
    "size": 50,
    "minimap": "rectangle",
    "speedUnit": "kmh",
    "hiddenHud": false,
    "hiddenCompass": false,
    "cinematicMode": false,
    "status": {
      "health": "#CD4040",
      "isdead": "#CD4040",
      "armor": "#FFFFFF",
      "hunger": "#CA782D",
      "thirst": "#328CCD",
      "stress": "#8E5CB6",
      "stamina": "#5CB0B6"
    },
    "presets": {
      "0": "#CD4040",
      "1": "#CD4040",
      "2": "#FFFFFF",
      "3": "#CA782D",
      "4": "#328CCD",
      "5": "#8E5CB6",
      "6": "#5CB0B6"
    }
  },
  "crosshair": {
    "active": true,
    "_length": 12,
    "dot": 1,
    "offset": 7,
    "thickness": 2,
    "color": "#ffffff"
  },
  "inventory": {
    "presets": {
      "0": "#333333",
      "1": "#4F4F4F",
      "2": "#828282",
      "3": "#BDBDBD",
      "4": "#F2F2F2",
      "5": "#EB5757",
      "6": "#5CB0B6",
      "7": "#F2994A",
      "8": "#39BF23",
      "9": "#27AE60",
      "10": "#6FCF97",
      "11": "#2F80ED",
      "12": "#2D9CDB",
      "13": "#56CCF2",
      "14": "#9B51E0",
      "15": "#BB6BD9"
    }
  },
  "target": {
    "type": "circle",
    "color": "#44BBBB",
    "presets": {
      "0": "#333333",
      "1": "#4F4F4F",
      "2": "#828282",
      "3": "#BDBDBD",
      "4": "#F2F2F2",
      "5": "#EB5757",
      "6": "#5CB0B6",
      "7": "#F2994A",
      "8": "#39BF23",
      "9": "#27AE60",
      "10": "#6FCF97",
      "11": "#2F80ED",
      "12": "#2D9CDB",
      "13": "#56CCF2",
      "14": "#9B51E0",
      "15": "#BB6BD9"
    }
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://miami-vice-assets.gitbook.io/documentation/mv-hud/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
