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_crosshair. - 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_crosshair
Configuration
Below are all available configuration options for hkn_crosshair. The config file is located at shared/config.lua.
Update Check
Enable or disable the version check on resource start.
Config.UpdateCheck = true
Language
Select the language used by the interface.
Config.Locale = 'en'
Command
Change the command used to open the Crosshair menu.
Config.EnableCommand = true
Config.Command = 'crosshair'
Config.CommandSuggestion = 'Open Crosshair Settings Menu'
Options
| Setting | Description |
|---|---|
EnableCommand |
Enable or disable the command. |
Command |
Command name. |
CommandSuggestion |
Suggestion text shown in chat. |
Keybind
Change the keys used to open and close the Crosshair menu.
Config.EnableKeybind = true
Config.Keybind = 'K'
Config.CloseKey = 'ESCAPE'
Options
| Setting | Description |
|---|---|
EnableKeybind |
Enable or disable the open key. |
Keybind |
Default key used to open the menu. |
CloseKey |
Key used to close the menu. |
Profile Limit
Maximum number of profiles a player can save.
Config.MaxProfiles = 20
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.