Перейти к содержанию

Player::isPlayerBeingArrested

Материал из RAGE MP Wiki Archive
Версия от 21:30, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">mp.game.player.isPlayerBeingArrested(atArresting);</syntaxhighlight>

Required Arguments

  • atArresting: Boolean

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also