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

Player::setWeaponDamageModifier

Материал из RAGE MP Wiki Archive
Версия от 23:47, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This modifies the damage value of your weapon. Whether it is a multiplier or base damage is unknown.

Based on tests, it is unlikely to be a multiplier.

Syntax

<syntaxhighlight lang="javascript">player.setWeaponDamageModifier(damageAmount);</syntaxhighlight>

Required Arguments

  • damageAmount: float

Return value

  • Undefined

Example

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

See also