Description
Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).
Works like setDamage, but the other way around: 1 is full health - see #Example 2.
Syntax
vehicleName setVehicleArmor value
Parameters:
Returns: Nothing
Examples
Example 1
player setVehicleArmor 0.5;
Example 2
player setVehicleArmor 1;
// is the same as
player setDamage 0;
player setVehicleArmor 0;
// is the same as
player setDamage 0.97;