GetVehicleHealth

From SA-MP

Jump to: navigation, search


GetVehicleHealth

Get the health of a vehicle.


(vehicleid, &Float:health)
vehicleidID of the vehicle
&Float:healthVariable to store the health in, passed by reference


This function does not return a specific value, it's best to simply ignore it.


new Float:health;
GetVehicleHealth(1, health);

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools