Skip to main content

SetPlayerArmor

Sets the armor (also called armour in GTA 5) of a player.

The default max armor is 100.

If you want to change that, you can use SetPlayerMaxArmour at clientside.

  • player: Parameter input should be in Player type.
  • armor: Parameter input should be in int type.

{{#tag:syntaxhighlight| Player.SetPlayerArmor(player, 100); |lang=csharp}} }}