GetVehicleBodyHealth

From RAGE Multiplayer Wiki
Revision as of 17:39, 12 December 2019 by Avoid (talk | contribs) (Created page with "Returns the vehicle's body health. {{CSharpContainer| {{#tag:pre|float {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleBodyHealth(Vehicle vehicle);}} {{Parameters}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the vehicle's body health.


C# Syntax

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);