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

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

Config

Config.Locale

Select the language used by the menu with Config.Locale. The value must match one of the keys inside Config.Languages.

Config.Locale = "en"

Config.ThemeColor

Customize the interface to any color you want with Config.ThemeColor.

Config.ThemeColor = "FF0400FF"

Supported Formats

Format Example Description
RRGGBB FF0066 Standard 6-digit HEX color.
RGB F06 Short 3-digit HEX color.
AARRGGBB FFFF0066 8-digit HEX color. The first two digits are ignored.

Note: The # prefix is optional. Invalid values fall back to white.


Config.UpdateCheck

Checks for a new version when the resource starts and prints the result to the server console.

Config.UpdateCheck = true

Config Key Settings

These values define how players open the Blips menu.

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

Settings

Option Description
Config.UseKey Enables or disables opening the menu with a keyboard key.
Config.OpenKey Default key used to open the menu.
Config.Command Command used to open the menu.

Note: The key is registered through FiveM's native key-mapping system, so every player can rebind it from Settings > Key Bindings > FiveM. Changing Config.OpenKey only affects players who have not used the key before.


Config.Languages

These values define the category names used by the Blips interface. You can freely customize them or add a new language by copying the block and changing its key.

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"
    }
}

Locale Fields

Key Description
clothing_label Name of the clothing stores category.
tower_label Name of the public buildings category.
jobs_label Name of the workplaces category.
gasoline_label Name of the gas stations category.
market_label Name of the convenience stores category.
mechanic_label Name of the mechanic shops category.
bank_label Name of the banks category (not shown in the menu).
ammunation_label Name of the ammunations category.
barber_label Name of the barber and tattoo category.

Config.Blips

List of every blip created by the script. Each line is one blip 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"},
    {title="Clothing Store", colour = 0, id = 73, x = 425.8, y = -806.2, z = 29.4, scale = 0.5, kind = "clothing"},
}

Settings

Option 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. Used by the menu to show or hide it.

Kinds

Kind Category Toggle in menu
clothing Clothing Stores Yes
tower Public Buildings Yes
jobs Workplaces Yes
gasoline Gas Stations Yes
market Convenience Stores Yes
mechanic Mechanic Shops Yes
ammunation Ammunations Yes
barber_label Barber & Tattoo Yes
bank Banks & ATMs No

Warning: The kind value must be written exactly as shown above, otherwise the blip cannot be toggled from the menu. Blips using the bank kind are always visible on the map.


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.