⚙️Configuration

Configuration guide of Emote Menu Script.


Emote Menu Script Configuration Guide

This guide provides detailed instructions for configuring the STG Emote Menu Script for FiveM. This script allows players to access an emote menu, offering options for in-game animations, vehicle usage, and custom keybinds.


Main Configuration

Config.Debug

  • Description: Enables debug mode for the script. Set to true to enable detailed debug prints in the console for troubleshooting.

  • Example:

    Config.Debug = false -- true or false

Config.InCar

  • Description: Determines if emotes can be used in vehicles. Setting this to true will allow emotes to be used while in a vehicle.

  • Example:

    Config.InCar = false -- true or false

Config.MoveWhileOpen

  • Description: Allows players to move while the emote menu is open if set to true. Set to false to restrict movement when the menu is open.

  • Example:

    Config.MoveWhileOpen = false -- true or false

Config.CloseOnPlay

  • Description: Closes the emote menu automatically after an emote is selected. Set to true to close the menu upon selection, or false to keep it open.

  • Example:

    Config.CloseOnPlay = true -- true or false

Command Configuration

Each command has a customizable keybind, description, and function. Below are the primary commands for the emote menu.

Command: emotemenu

  • Keybind: F3

  • Description: Opens the emote menu for selecting animations.

  • Example:

    Config.Commands["emotemenu"] = {
        Keybind = 'F3',
        Description = 'Open Emote Menu'
    }

Command: cancel

  • Keybind: X

  • Description: Cancels the currently playing animation.

  • Example:

    Config.Commands["cancel"] = {
        Keybind = 'X',
        Description = 'Cancel the current animation'
    }

Command: accept

  • Keybind: Z

  • Description: Accepts a shared emote request from a nearby player.

  • Example:

    Config.Commands["accept"] = {
        Keybind = 'Z',
        Description = 'Accept the shared Emote request.'
    }

Last updated