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

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

Config

The config file is located at shared/config.lua.

Config.UpdateCheck

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

Config.UpdateCheck = true

Config.Locale

Select the language used by the interface with Config.Locale. The value must match one of the files inside the locales folder.

Config.Locale = 'en'

Available Languages

Value Language Value Language
en English ja Japanese
tr Turkish ko Korean
de German pl Polish
fr French pt-br Portuguese (Brazil)
es Spanish ru Russian
it Italian zh-cn Chinese (Simplified)
ar Arabic hi Hindi

Note: To add a new language, copy one of the files in the locales folder, rename it and translate the values.


Config Command

These values define the command used to open the Crosshair menu.

Config.EnableCommand = true
Config.Command = 'crosshair'
Config.CommandSuggestion = 'Open Crosshair Settings Menu'

Settings

Option Description
Config.EnableCommand Enables or disables the command entirely.
Config.Command Command players will use to open the menu.
Config.CommandSuggestion Suggestion text shown in chat. Leave empty to disable the suggestion.

Warning: The keybind runs the command. If you set Config.EnableCommand to false, the keybind will not open the menu either.


Config Keybind

These values define the keys used to open and close the Crosshair menu.

Config.EnableKeybind = true
Config.Keybind = 'K'
Config.CloseKey = 'ESCAPE'

Settings

Option Description
Config.EnableKeybind Enables or disables the keybind entirely.
Config.Keybind Default key used to open the menu. Leave empty to assign no key.
Config.CloseKey Key used to close the menu (ESCAPE, BACKSPACE, etc.).

Note: The key is registered through FiveM's native key-mapping system, so every player can rebind it from Settings > Key Bindings > FiveM.


Config.MaxProfiles

Maximum number of crosshair profiles a player can save.

Config.MaxProfiles = 20

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.