> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-clothing-studio/commands.md).

# Commands

CAS Clothing Studio commands: the staff studio command and the debug commands for testing designs on a RedM server.

## Staff

| Command           | What it does                                                                                                           |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `/clothingstudio` | Opens the studio. Needs the ACE `cas.clothingstudio` or a group in `Config.AdminGroups`. The name is `Config.Command`. |

Players have no commands: they buy and wear designs in the clothing store or at a tailor counter.

## Debug

Only with `Config.Debug = true`. Keep it `false` on a live server.

| Command                               | Where          | What it does                                                                  |
| ------------------------------------- | -------------- | ----------------------------------------------------------------------------- |
| `cs_dress <playerId\|all> <designId>` | server console | Gives a live design to a player (or everyone online) as a gift and puts it on |
| `cs_where`                            | server console | Prints where the players stand and the tailor counters                        |
| `cs_build <slot>`                     | server console | Texture pipeline test: builds a test texture                                  |
| `/cs_wear <slot>`                     | in game        | Texture pipeline test: wears a slot                                           |
