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_emote. - Remove or stop any other emote menu running on your server.
- 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_emote
Warning: This script registers the
/eand/emotecommands as well as the crouch, point and ragdoll keys. If another resource on your server already provides these, remove it to avoid conflicts.
Usage
Commands
| Command | Description |
|---|---|
/hknemote |
Opens the emote menu. |
/radialmenu |
Opens the radial menu. |
/e [name] |
Plays an emote by its name. |
/emote [name] |
Plays an emote by its name. |
/cancelemote |
Cancels the current emote. |
/animpos |
Opens the animation position tool. |
Default Keys
| Key | Description |
|---|---|
F11 |
Open the emote menu. |
F5 |
Open the radial menu. |
X |
Cancel the current emote. |
Y |
Accept a shared emote request. |
N |
Decline a shared emote request. |
LCONTROL |
Crouch. |
B |
Point. |
L |
Ragdoll. |
E |
Sit on a chair, lean on a wall or join a dance when nearby. |
Note: The keys are registered through FiveM's native key-mapping system, so every player can rebind them from Settings > Key Bindings > FiveM.
Configuration
Below are the main configuration options for hkn_emote. The config file is located at shared/config.lua. See the Config page for every option.
Update Check
Enable or disable the version check on resource start.
UpdateCheck = true,
Language
Select the language used by the interface.
Locale = "en",
Main Menu
Change the command and key used to open the emote menu.
MainMenu = {
Enabled = true,
CommandEnabled = true,
Command = "hknemote",
KeyEnabled = true,
Key = "F11"
},
Radial Menu
Change the command and key used to open the radial menu.
RadialMenu = {
Enabled = true,
CommandEnabled = true,
Command = "radialmenu",
KeyEnabled = true,
Key = "F5"
},
Keys
Change the default keys used by the script.
CrouchKey = "LCONTROL",
RagdollKey = "L",
PointKey = "B",
CancelKey = "X",
AcceptSharedKey = "Y",
CancelSharedKey = "N",
Admin Identifiers
Players with admin access in the emote menu.
AdminIdentifiers = {
"hex:111111111111111111",
"license:16961c4eb5cd20f108e1f729b5e4b9a5b3b8f7b6"
}
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.