> 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-radial-menu-v2/troubleshooting.md).

# Troubleshooting

Common problems with the CAS Radial Menu on RedM, the wheel not opening, blank slices, missing exports, and the console commands that diagnose them.

## The wheel does not open

Work down this list:

1. **Is the resource started?** `ensure cas-radialmenu` in `server.cfg`, after your framework.
2. **Is the folder named `cas-radialmenu`?** The NUI page, every export and every event name is built from the resource name. Renaming the folder breaks all three.
3. **Are you pressing F3?** That is the default, not F5 and not F6. `Config.Key = 'F5'` only registers a command; it does not bind a key. See [the key](/script-documentation/cas-radial-menu-v2/configuration.md#the-key).
4. **Is something blocking it?** Run `casradial_api` in the client console, it names any resource holding the wheel shut through [`SetEnabled`](broken://pages/exports#blocking-the-wheel).
5. **Are you dead, or in the pause menu?** The wheel refuses to open in both. A focused NUI there would trap your input with no way out.

Turn `Config.Debug = true` on and every open, close and selection is printed to the client console, including the reason an open was refused.

## A slice does nothing

Almost always the other resource. Check the row for that slice in [Integrations](broken://pages/integrations), nearly every one of them depends on a command name in the other resource's config being left at its default. If you renamed it there, change the slice's `command` or `event` in `Config.Menu`.

## Call Horse / Call Wagon says an export is missing

`vorp_stables` does not ship the export the wheel needs. Add two lines to it, see [`vorp_stables`](broken://pages/integrations#vorp_stables-required-for-call-horse-call-wagon). An update to `vorp_stables` removes them again.

## A job slice is missing for the right player

`Config.Jobs` uses each resource's **own** name for the job, and they commonly disagree. Check the name against that resource's config, not against what you call the job on your server. See [lining the job names up](broken://pages/integrations#lining-the-job-names-up).

Only the job name is checked, never the grade.

## A slice is blank, or shows the wrong picture

The `icon` field is a file name in `ui/assets/icons` without the `.png`. A name with no matching file draws nothing. List that folder to see what is available.

## The menu still shows an old item

`Config.Menu` is read when the wheel opens, so `restart cas-radialmenu` is enough, but if you edited the file while the server was running, make sure the restart actually happened. Nothing needs rebuilding; the UI is not compiled from the config.

## Two focused menus on screen at once

Your other resource should hold the wheel shut while its own NUI is up:

```lua
exports['cas-radialmenu']:SetEnabled(false)   -- ... and true when done
```

## Console commands

All client side, all prefixed `casradial`.

| Command                     | What it prints or does                                                                |
| --------------------------- | ------------------------------------------------------------------------------------- |
| `casradial`                 | Opens and closes the wheel.                                                           |
| `casradial_api`             | What is blocking the wheel, and what other resources have added to it.                |
| `casradial_locale <code>`   | Switches language for the session and reports what that language is still missing.    |
| `casradial_walk`            | The walk style, stance and pace in effect. `casradial_walk clear` takes them all off. |
| `casradial_waypoint`        | The map waypoint, and how its height was resolved.                                    |
| `casradial_favorites_clear` | Empties the Favorites tab.                                                            |
| `casradial_history_clear`   | Empties the History tab.                                                              |

## Still stuck

Join the [CAS Discord](https://discord.gg/X8bTK9Stwk) or use the support channel on your product page. Include your `Config.Debug = true` console output and which framework you are on.
