GetVehicleHealth
Returns the vehicle's health.
C# Syntax
float NAPI.Vehicle.GetVehicleHealth(Vehicle vehicle);
Parameters
- vehicle: parameter input should be in Vehicle type
NOTE: This function returns the health in float type.
Example
float vehicleHealth = NAPI.Vehicle.GetVehicleHealth(vehicle);