> For the complete documentation index, see [llms.txt](https://artzalez.gitbook.io/artz-script-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://artzalez.gitbook.io/artz-script-documents/scripts/artz-emotes-menu/installation.md).

# Installation

## First Step:

1. Download the **latest version** form [keymaster](https://keymaster.fivem.net).
2. **If you not have rpemotes or similar resource**, **download** [**rpemotes**](https://github.com/TayMcKenzieNZ/rpemotes) **recommended.**

## Second Step:

1. Open your **rpemotes** resource folder and **open client folder**.
2. Delete **EmoteMenu.lua** file.&#x20;

<figure><img src="/files/YqTemf03Rndz7sK7V49n" alt=""><figcaption><p>Delete this file</p></figcaption></figure>

3. Open/Edit **Emote.lua** file:

<figure><img src="/files/3dwdJSrrUuZ8FWw392pC" alt=""><figcaption><p>Open this file</p></figcaption></figure>

4. Go to the last line and paste this code:

```lua
-- Artz Menu Exports
lang = Config.MenuLanguage

exports("EmoteCommandStart", function(emoteName, textureVariation)
        EmoteCommandStart(nil, {emoteName, textureVariation}, nil)
end)
exports("WalkCommandStart", function(walkName)
        WalkCommandStart(walkName)
end)
exports("ExpressionCommandStart", function(expressionName)
    if RP then
        if RP.Expressions[expressionName] ~= nil then
            SetPlayerPedExpression(RP.Expressions[expressionName][1], true)
        end
    elseif DP then
        if DP.Expressions[expressionName] ~= nil then
            OnEmotePlay(DP.Expressions[expressionName])
        end
    else
        print("Contact to developer, because you are not using a EmoteMenu compatible!")
    end
end)

exports("EmoteCancel", EmoteCancel)
exports("CanCancelEmote", function(State)
    CanCancel = State == true
end)

exports("GetEmotes", function()
    return RP and RP or DP
end)

exports("GetConfig", function()
    return Config
end)
```

## Third Step:

1. **Open artz\_emotes folder** and go to **shared folder**, next **open config.lua**.
2. Set **parameters correct** and **translate language**.
3. **Done! Start your server.**
