> For the complete documentation index, see [llms.txt](https://mstudio-1.gitbook.io/mstudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mstudio-1.gitbook.io/mstudio/kz-resources/editor-13.md).

# Kz - VehicleAFK

The **Kz Vehicle AFK** system introduces a cinematic camera that automatically activates when a player is inactive inside a vehicle.\
It can also be controlled manually through **exports, events, and chat commands**, allowing easy integration with other scripts.

This documentation explains how developers and server administrators can interact with the resource.

## 💬 Chat Commands

Players and administrators can control the AFK cinematic system using in-game chat commands.

| Command                      | Description                                             | Requirements                    |
| ---------------------------- | ------------------------------------------------------- | ------------------------------- |
| **/afk**                     | Manually toggles the cinematic AFK camera.              | Player must be inside a vehicle |
| **/toggle\_afk\_cinematics** | Enables or disables the automatic AFK detection system. | None                            |
