HKN Works Logo
HKN Works/Docs/hkn-works-resources

Agents can also search and read this documentation through its MCP server.

Installation

Installation

General Setup

  1. Extract the resource into your server's resources folder.
  2. Make sure the folder name is strictly hkn_blips.
  3. Open your server.cfg.
  4. Make sure the default FiveM resources are started before this script.
  5. Add the following line:
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents

ensure hkn_blips

Configuration

Below are all available configuration options for hkn_blips.

Language

Select the language used for the category names in the menu.

Config.Locale = "en"

Theme Color

Customize the interface theme color.

Config.ThemeColor = "FF0400FF"

Update Check

Enable or disable the version check on resource start.

Config.UpdateCheck = true

Key Settings

Change the key and the command used to open the Blips menu.

Config.UseKey = true
Config.OpenKey = "F10"
Config.Command = "blips"

Options

Setting Description
UseKey Enable or disable opening the menu with a key.
OpenKey Default key used to open the menu.
Command Command used to open the menu.

Languages

Customize the category names displayed in the interface.

Config.Languages = {
    ['en'] = {
        ["clothing_label"] = "Clothing Stores",
        ["tower_label"] = "Public Buildings",
        ["jobs_label"] = "Workplaces",
        ["gasoline_label"] = "Gas Stations",
        ["market_label"] = "Convenience Stores",
        ["mechanic_label"] = "Mechanic Shops",
        ["bank_label"] = "Banks & ATMs",
        ["ammunation_label"] = "Ammunations",
        ["barber_label"] = "Barber & Tattoo"
    }
}

Blips

Add, remove or edit the blips shown on the map.

Config.Blips = {
    {title="Pillbox Hospital", colour = 1, id = 61, x = 306.6, y = -595.0, z = 43.2, scale = 0.7, kind = "tower"},
    {title="24/7 Market", colour = 2, id = 52, x = 25.1, y = -1346.7, z = 29.5, scale = 0.5, kind = "market"},
}

Options

Setting Description
title Name shown on the map.
colour Blip color ID.
id Blip sprite ID.
x, y, z Blip coordinates.
scale Blip size.
kind Category the blip belongs to in the menu.

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.