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_handlingeditor.
  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_handlingeditor
  1. Add your identifier to Config.AllowedIdentifiers so you can open the editor.

Exported Files

When you export a vehicle from the editor, a ready-to-use resource is created inside the script folder:

hkn_handlingeditor/export/<vehicle name>/fxmanifest.lua
hkn_handlingeditor/export/<vehicle name>/data/handling.meta

Move the <vehicle name> folder into your resources folder and ensure it to apply the handling permanently.


Configuration

Below are all available configuration options for hkn_handlingeditor.

Update Check

Enable or disable the version check on resource start.

Config.UpdateCheck = true

Language

Select the language used by the interface.

Config.Language = 'en'

Command

Change the command used to open the Handling Editor.

Config.Command = 'handling'

Permissions

Restrict access to specific players using their identifier.

Config.EnablePermissions = true

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

Options

Setting Description
EnablePermissions Enable or disable identifier restriction.
AllowedIdentifiers List of allowed identifiers.

Close Key

Alternative key used to close the editor alongside ESC.

Config.CloseKey = 177 -- Backspace

Speed Unit

Select the speed unit shown in the interface.

Config.Unit = 'kmh'

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.