if (UniteInVehicle("player")) then[INDENT]local vehicleUnit = [COLOR=Red]???[/COLOR] -- here is my problem
local cur = UnitHealth(vehicleUnit);
local max = UnitHealthMax(vehicleUnit);
local max = UnitMaxHealth("vehicle")
Quote from XinhuanIf a person is in a vehicle, referring to their pet would refer to the vehicle. That is, "partypet2" would be a vehicle.