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

Ped::setAiWeaponDamageModifier

Материал из RAGE MP Wiki Archive
Версия от 18:10, 28 июля 2019; imported>Atesh (Example)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Syntax

<syntaxhighlight lang="javascript">mp.game.ped.setAiWeaponDamageModifier(value);</syntaxhighlight>

Required Arguments

  • value: float

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> mp.game.ped.setAiWeaponDamageModifier(1.5); </syntaxhighlight> This will change from 10 shots until that with normal pistol to 3 or 4 shots.

See also