# Jota Dev Hud System

<figure><img src="/files/LK0qk8kANFLqLRtYCaSB" alt=""><figcaption></figcaption></figure>

**Put in your server.cfg**

```markdown
# JotaDev HUD System
ensure jc_hud
```

**Configure the script to your liking**

{% tabs %}
{% tab title="Setting" %}

```lua
Config = {}

Config.Framework = "" -- esx // qbcore | Specify your framework; if you work with ESX, enter "esx", and if you work with QB-Core or QBox, enter "qbcore"
Config.Lenguaje = "en" --  es // en  | Enter your language, "es" for Spanish and "en" for English

Config.FuelSystem = "none" -- Put your system of fuel -> legacyfuel | ox_fuel | cdn_fuel | esx_vehicle | none --> If you want to add a custom one, go to jc_hud/Editable/Client/CMain.lua

Config.EnableBloodEffect = true -- Activates or deactivates the blood effect when the player takes damage and dies

Config.SeatBeltKey = 'B' -- Key used to fasten your seatbelt
Config.SpeedUnit = "kmh" --  kmh // mph | If you want to use km/h or mph for the car HUD, enter "kmh" or "mph"

Config.HUD = { -- This is the default configuration that the players will start with.
    CommandOpenConfig = "hud", -- Command to open the settings panel
    position = "custom",
    style = "circular-icons", -- circular-icons//square-liquid | To start with the circle HUD, type "circular-icons", and if you want to start with the square HUD, type "square-liquid"
    carStyle = "digital", -- digital // circular | To start with the digital car HUD, type "digital," and if you want to use the circular HUD, type "circular"
    hideHud = false, -- If the player has all the bars filled, only the missing option will be displayed.
    
    colors = { -- These are the default colors that will be seen in the script if it is not configured by the player
        primary = "#0a121c",
        secondary = "#8fc7d6",
        tertiary = "#8fc7d6",
    },

    Visibility = { -- Here you'll find a small configuration in case you want to edit and remove some parts of the entire HUD
        showJob = true,
        showCash = true,
        showBank = true,
        showId = true,
        showVoice = true,
        showWeaponHud = true,
        showOrg = false,
        miniMapDefault = false, -- If you want the map active in the basic configuration, you can set it to true
        seatBeltUse = true, -- Activates/Deactivates the seat belt
    }
}

Config.Positions = {
    ["top-left"] = {
        name = "Arriba Izquierda",
        top = "40px",
        left = "3vw",
        right = "auto",
        bottom = "auto"
    },
    ["top-right"] = {
        name = "Arriba Derecha",
        top = "40px",
        left = "auto",
        right = "3vw",
        bottom = "auto"
    },
    ["bottom-left"] = {
        name = "Abajo Izquierda",
        top = "auto",
        left = "-0vw",
        right = "auto",
        bottom = "10px"
    },
    ["bottom-right"] = {
        name = "Abajo Derecha",
        top = "auto",
        left = "auto",
        right = "3vw",
        bottom = "40px"
    },
    ["center-hud"] = {
        name = "Center HUD",
        top = "1003px",
        left = "750px",
        right = "3vw",
        bottom = "40px"
    }
}

Config.Debug = false -- Dont Touch
```

{% endtab %}
{% endtabs %}

<figure><img src="/files/lLOTeNyuELKQ7DydwIci" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4CVlChVTNpOloxFSC4Pn" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8Jv51BYor3sBCgZs9nTJ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/a1N8Y0pgqeEaISK4dEn9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/SBoZ5MNqpVEoXEbLiwmH" alt=""><figcaption></figcaption></figure>

*If you have any questions, we can assist you on our Discord server by opening a ticket*


---

# 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://jota-dev-documentation.gitbook.io/jota-dev/scripts/hud.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.
