Ped::setAiWeaponDamageModifier: Difference between revisions

From RAGE Multiplayer Wiki
 
Line 11: Line 11:
mp.game.ped.setAiWeaponDamageModifier(1.5);
mp.game.ped.setAiWeaponDamageModifier(1.5);
</syntaxhighlight>
</syntaxhighlight>
This will change from 10 shots until that with normal pistol to 3 or 4 shots.


==See also==
==See also==

Latest revision as of 18:10, 28 July 2019

Syntax

mp.game.ped.setAiWeaponDamageModifier(value);

Required Arguments

  • value: float

Return value

  • Undefined

Example

mp.game.ped.setAiWeaponDamageModifier(1.5);

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

See also