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

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

Config

Config.UpdateCheck

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

Config.UpdateCheck = true

Config.Language

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

Config.Language = '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

Config.Command

Customize the command that opens the Handling Editor with Config.Command.

Config.Command = 'handling'

Config Permissions

Identifier-based whitelist support to restrict access to specific players.

Warning: The Handling Editor changes vehicle performance live. It is strongly recommended to keep permissions enabled on a live server.

Config.EnablePermissions = true

Config.AllowedIdentifiers = {
    'steam:1100001xxxxxxxx',
    'license:1100001xxxxxxxx',
    -- 'discord:123456789012345678',
}

Settings

Option Description
Config.EnablePermissions Enables or disables the identifier whitelist. When false, everyone can open the editor.
Config.AllowedIdentifiers List of allowed identifiers, written with their prefix (steam:, license:, discord:).

Config.CloseKey

Alternative key used to close the editor alongside ESC. The value is a FiveM control ID. Set it to false to disable.

Config.CloseKey = 177 -- Backspace

Config.Unit

Select the speed unit shown in the interface with Config.Unit.

Config.Unit = 'kmh'

Settings

Value Description
kmh Kilometers per hour.
mph Miles per hour.

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.