Перейти к содержанию

GetVehicleBodyHealth

Материал из RAGE MP Wiki Archive

Returns the vehicle's body health.


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

<syntaxhighlight lang="csharp"> float bodyHealth = NAPI.Vehicle.GetVehicleBodyHealth(vehicle); </syntaxhighlight>