Agents can also search and read this documentation through its MCP server.
Installation
Installation
General Setup
- Extract the resource into your server's
resourcesfolder. - Make sure the folder name is strictly
hkn_fieldofview. - Open your
server.cfg. - Make sure the default FiveM resources are started before this script.
- 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
.mdto page URLs; this page is available as Markdown.