# Client Configuration

```lua
Config = {}

--[[
    You can choose between: "gridsystem" and "target"
]]
Config.MarkerType = "gridsystem"

-- Name of the .ytd file in the stream folder
Config.StreamFile = "marker"

-- If true, you will see all blips of your jobs, even if you are not in service
Config.EnableAllBlips = false

Config.MinimumGrade = 0

Config.CustomTextUI = true

--- ["job-name"] = "Description"
Config.BossMenu = {
    ["police"] = "Police Department Database",
    ["ambulance"] = "Hospital Database"
}

---  ["job-name"] = "link"
Config.Avatar = {
    ["police"] = "https://www.baltimorepolice.org/themes/custom/bpd/images/bpd_logo.png",
    ["ambulance"] = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSEXCa2LuJEAyRmb_p95lQReKn9Citsxv8khfSIKXgifR3hSapfPsvnyjmrPEL7-z4o5U4&usqp=CAU"
}

--- ["Marker Type"] = "text"
--- ATTENTION the [""] MUST BE THE SAME THAT YOU REGISTERED IN nx_markers type.
--- DO NOT REMOVE IT
Config.OpenMarker = {
    ["Boss Menu"] = "OPENING THE BOSS MENU",
    ["Outfit"] = "TO OPEN THE GUARDROBE",
    ["Open Garage"] = "TO OPEN THE GARAGE",
    ["Deposit Garage"] = "TO DEPOSIT VEHICLE",
    ["Inventory"] = "OPEN THE INVENTORY",
    ["In Service"] = "JOIN/LEFT SERVICE",
    ["Company Garage"] = "TO OPEN THE GARAGE"
}

Config.TargetOptions = {
    ["Boss Menu"] = {
        label       = "Open the Boss Menu",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    },
    ["Outfit"] = {
        label       = "Open the Guardrobe",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    },
    ["Open Garage"] = {
        label       = "Open The Garage",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    },
    ["Deposit Garage"] = {
        label       = "Deposit Vehicle",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    },
    ["Inventory"] = {
        label       = "Open Inventory",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    },
    ["In Service"] = {
        label       = "Join/Left Service",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    },
    ["Company Garage"] = {
        label       = "Open The Garage",
        icon        = "fa-regular fa-hand",
        distance    = 2,
    }
}

Config.DefaultAvatar = "https://cdn.discordapp.com/attachments/1136989226429321357/1161571533999837265/logo2.png?ex=659511ca&is=65829cca&hm=3feda243c701ff05a4521ebecdb7446b189f8d6378a4406f0eeaa1ef59e73fa7&"

Config.ServerName = 'NX Scripts'

-- Control for interacting with blips
Config.Control = 'E'

-- Blip Interaction Distance
Config.BlipInteractionDistance = 2

-- Increasing this value will decrease performarnce [5-10] is still good
Config.BlipRenderDistance = 4
```

***

#### Marker Type

Choose between [*gridsystem*](https://github.com/docc5m/gridsystem) and [*ox\_target*](https://github.com/overextended/ox_target)*.*

<figure><img src="https://495958842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxwfwaasCxxnLLlp5t4Km%2Fuploads%2F20Qclwi9i9p9MYuUrw5H%2Fimage.png?alt=media&#x26;token=da9fc335-eba3-47cb-be85-3c8f10af46c3" alt="" width="244"><figcaption><p>ox target option</p></figcaption></figure>

***

#### Minimum Grade

it is the minimum grade that is assigned by default when you are hired.

***

#### Custom Text UI

If you are using my own [*gridsystem*](https://github.com/docc5m/gridsystem), it enables the UI on the top-left.

<figure><img src="https://495958842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxwfwaasCxxnLLlp5t4Km%2Fuploads%2FoHtkvRazgX6I0UXJ1eKV%2Fimage.png?alt=media&#x26;token=0c440403-e178-40b2-9e3c-68cee75f8f7f" alt=""><figcaption><p>top-left message</p></figcaption></figure>

***

#### Boss Menu & Avatar

They are table containing *custom sentences* and *top-left images* used when the boss menu is open.

<figure><img src="https://495958842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxwfwaasCxxnLLlp5t4Km%2Fuploads%2FUfclJi8IBHrHlIHztPwu%2Fimage.png?alt=media&#x26;token=efdfe96f-89f2-4943-990d-ed79e5bc0502" alt="" width="375"><figcaption><p>Boss Menu header</p></figcaption></figure>

***

#### Open Marker

Are sentences linked to the type of the marker. They can be used for everything, for example for your custom UI's. I used them for my custom [*gridsystem*](https://github.com/docc5m/gridsystem) *as you can see above.*

***

#### Target Options

Edit your target options.

***

#### Default Avatar

It's an image URL used as a default image in boss menus if you don't customize job avatars and in job creator.

***

#### Server Name

The name of your server.

***

#### Control

This is just a string, used for my own [*gridsystem*](https://github.com/docc5m/gridsystem)*. It doesn't change the control action.*

***

#### Blip Interaction Distance

The maximum distance from which you can interact.

***

#### Render Distance

The maximum distance from which you can see your markers using gridsystem.
