Skip to main content

Ped::setAiWeaponDamageModifier

Syntax​

```js mp.game.ped.setAiWeaponDamageModifier(value); ```

Required Arguments​

  • value: float

Return value​

  • Undefined

Example​

```js mp.game.ped.setAiWeaponDamageModifier(1.5); ```

This will change from 10 shots until that with normal pistol to 3 or 4 shots.

See also​