Player::isPlayerBeingArrested

From RAGE Multiplayer Wiki
Revision as of 21:30, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

mp.game.player.isPlayerBeingArrested(atArresting);

Required Arguments

  • atArresting: Boolean

Return value

  • Boolean

Example

// todo

See also