# Playlist

Chain multiple emotes into a sequence that plays automatically.

***

### Commands

```
/playlist [name]     Play a saved playlist
/playlist stop       Stop the current playlist
/playlist pause      Pause / resume playback
```

***

### Creating playlists

Playlists are created and managed through the emote menu's **Playlists** tab. You can:

* Add emotes to a playlist with custom timing
* Save, rename and delete playlists
* Playlists are saved per client using KVP (persistent across sessions)

***

### Limits

| Setting          | Default | Description                    |
| ---------------- | ------- | ------------------------------ |
| `MaxPerPlaylist` | 20      | Max emotes per playlist        |
| `MaxPlaylists`   | 10      | Max saved playlists per player |

***

### Config

```lua
Config.Playlist = {
    Enabled = true,
    MaxPerPlaylist = 20,
    MaxPlaylists = 10,
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.var-fivem.com/emote/configuration/playlist.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
