Player::isBeingArrested

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.isBeingArrested(atArresting);

Required Arguments

  • atArresting: Boolean

Return value

  • Boolean

Example

// todo

See also