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_fieldofview.
  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_fieldofview

Configuration

Below are all available configuration options for hkn_fieldofview.

Update Check

Enable or disable the version check on resource start.

Config.UpdateCheck = true

Only Players

Choose whether the system affects only real players or local NPCs as well.

Config.OnlyPlayers = false

View Threshold

Field of view angle used to decide who is behind the character.

Config.ViewThreshold = 0.0

Fade Alpha

Transparency level of the characters behind the player.

Config.FluAlpha = 51

Look Behind Key

Disable the default GTA V look-behind controls.

Config.DisableLookBehindKey = true

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.