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

Player::setPlayerMaxArmour

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

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