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

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

Config.OnlyPlayers = false

Settings

Value Description
true Only real players are faded. Recommended on populated servers for best performance.
false Both real players and local NPCs are faded for a fully realistic environment.

Config.ViewThreshold

Field of view angle used to decide which characters are outside the player's line of sight.

Config.ViewThreshold = 0.0

Settings

Value Description
1.0 Exactly in front of the character.
0.0 Shoulder line / sides of the character.
-1.0 Exactly behind the character.

Note: With the default value of 0.0, everything behind the character's immediate sides is faded. Lower the value towards -1.0 to widen the visible area.


Config.FluAlpha

Transparency level applied to the characters behind the player.

Config.FluAlpha = 51

Settings

Value Description
0 Completely invisible.
51 Ghost-like, blurred look (recommended).
255 Completely normal.

Config.DisableLookBehindKey

Disables the default GTA V look-behind controls (C key / R3 stick), preventing players from instantly checking their back.

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.