> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/scripts/tgiann-policejob/state-bags.md).

# State Bags

Use state bags only to retrieve data. Do not use them to set data.

## handcuffedData

```lua
LocalPlayer.state.handcuffedData
```

#### return

* **data:** `Object`
  * **active:** `boolean`
  * **propNetId:** `number` | `nil`
  * **bussy:** `boolean`
  * **keyId:** `number` | `false`
  * **handcuffTypeIndex:** `number` | <kbd>false</kbd>&#x20;

## ishandcuffed

```
LocalPlayer.state.ishandcuffed
```

#### return

* **ishandcuffed:** `boolean`

***

## isEscortActive

```
LocalPlayer.state.isEscortActive
```

#### return

* **targerPlayerId:** `number` | `nil`

***

## isTrunkActive

```
LocalPlayer.state.isTrunkActive
```

#### return

* **vehicleNetId:** `number` | `nil`

***

## isHeadbaggedString

```
LocalPlayer.state.isHeadbaggedString
```

#### return

* **targetPlayerId:** `number` | `nil`

***
