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

Player::setArmour

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

Sets the armor of the specified player.

ped: The Ped to set the armor of.
amount: A value between 0 and 100 indicating the value to set the Ped's armor to.

Syntax

<syntaxhighlight lang="javascript">player.setArmour(amount);</syntaxhighlight>

Required Arguments

  • amount: int

Return value

  • Undefined

Example

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

See also