Skip to main content

GetVehicleBodyHealth

Returns the vehicle's body health.

C#​

float NAPI.Vehicle.GetVehicleBodyHealth(Vehicle vehicle);

Parameters​

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the body health in float type.

Example​

float bodyHealth = NAPI.Vehicle.GetVehicleBodyHealth(vehicle);