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

Ped::setAiWeaponDamageModifier

Материал из RAGE MP Wiki Archive

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