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

Player::disablePlayerFiring

Материал из RAGE MP Wiki Archive
Версия от 07:46, 2 ноября 2019; imported>Kar (...............)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Inhibits the player from using any method of combat including melee and firearms.

NOTE: Only disables the firing for one frame

Syntax

<syntaxhighlight lang="javascript">mp.game.player.disableFiring(toggle);</syntaxhighlight>

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

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

See also