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

Player::setPlayerMaxArmour

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

Default is 100. Use player id and not ped id. For instance: PLAYER::SET_PLAYER_MAX_ARMOUR(PLAYER::PLAYER_ID(), 100); // main_persistent.ct4

Syntax

<syntaxhighlight lang="javascript">mp.game.player.setPlayerMaxArmour(value);</syntaxhighlight>

Required Arguments

  • value: int

Return value

  • Undefined

Example

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

See also