onVehicleHealthChange
Description
This event is called when a vehicle's health is changed.
| Name | Description |
|---|---|
| vehicle | The pointer of the vehicle |
| oldHP | The old HP of vehicle |
| newHP | The new HP of vehicle |
Example
function onVehicleHealthChange(vehicle, oldHP, newHP) { Message("Vehicle: "+vehicle+"'s health has been changed to "+newHP+" from "+oldHP)}