Skip to main content

GetVehicleHealth

Returns the vehicle's health.

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the health in float type.

{{#tag:syntaxhighlight| float vehicleHealth = Vehicle.GetVehicleHealth(vehicle); |lang=csharp}} }}