Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Sets the armor state of a vehicle, or health of a unit.

Syntax

Syntax:object setVehicleArmor value
Parameters:
  • object: Object - Vehicle or unit.
  • value: Number - Armor state / health, in the range of 0 (destroyed / dead) - 1 (full).
Return Value:Nothing

Examples

Examples:
player setVehicleArmor 0.5;

Additional Information

See also:
Multiplayer:
Problems:

Notes