# Client: Radial menu actions

> Reference for Client: Radial menu actions in policejob.

[All exports](/docs/jobs/policejob/reference/exports)

This page documents the supported public integration calls. Client values are never authoritative for police permissions, review decisions, evidence, offences, or billing.

## Client Exports

### Radial menu actions

Other resources (e.g. a custom radial menu or keybind resource) can read and trigger the police radial actions instead of using the built-in radial menu. In the built-in menu, currently available actions are grouped into localized person and vehicle submenus.

Available action IDs: `handcuff`, `unhandcuff`, `ziptie`, `cut_zipties`, `leg_restraints`, `ankle_monitor`, `head_bag`, `escort`, `escort_vehicle`, `escort_take_out`, `tackle`, `tackle_cuff`, `tackle_release`, `player_search`, `carry_patient`, `impound`, `park_vehicle`, `wheel_clamp`, `wheel_clamp_remove`, `camera_disassemble`, `billing`, `tablet`.

#### `getRadialActions()`

- **Purpose**: Returns every radial action currently offered to the local player, including its availability state.
- **Returns**: `table` — array of action records (`id`, `label`, `disabled`, …). Empty when the radial system is disabled.

```lua
local actions = exports["sky_policejob"]:getRadialActions()
```

#### `getRadialAction(actionId)`

- **Purpose**: Returns a single radial action record by ID.
- **Returns**: `table | nil`.

```lua
local action = exports["sky_policejob"]:getRadialAction("handcuff")
```

#### `getRadialActionReport()`

- **Purpose**: Returns all actions plus a per-ID availability map — useful to build an external menu in one call.
- **Returns**: `table` — `{ actions = { ... }, availability = { [actionId] = { available, disabledReasonKey, disabledReason } } }`.

```lua
local report = exports["sky_policejob"]:getRadialActionReport()
if report.availability["handcuff"] and report.availability["handcuff"].available then
    -- show the handcuff option
end
```

#### `isRadialMenuActionAvailable(actionId)`

- **Purpose**: Checks whether one radial action is currently available.
- **Returns**: `boolean`.

```lua
local available = exports["sky_policejob"]:isRadialMenuActionAvailable("impound")
```

#### `triggerRadialMenuAction(actionId)`

- **Purpose**: Executes a radial action for the local player.
- **Returns**: `boolean, table?` — `true` on success, otherwise `false` and a reason (`{ key, fallback }`).

```lua
local success, reason = exports["sky_policejob"]:triggerRadialMenuAction("player_search")
```
