Client Configuration

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 and ox_target.

ox target option

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, it enables the UI on the top-left.

top-left message

Boss Menu & Avatar

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

Boss Menu header

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 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. 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.

Last updated