Skip to main content

Player::isBeingArrested

Return true while player is being arrested / busted.

If atArresting is set to 1, this function will return 1 when player is being arrested (while player is putting his hand up, but still have control)

If atArresting is set to 0, this function will return 1 only when the busted screen is shown.

Syntax

```js player.isBeingArrested(atArresting); ```

Required Arguments

  • atArresting: Boolean

Return value

  • Boolean

Example

```js // todo ```

See also