We currently have no way to detect when a vehicles state is being changed by built in services: ammo/fuel/repair
For example, when your vehicle gets close to a vehicle with fuel cargo, your vehicle will begin to refuel automatically.
Applies also to fuel and repair.
Applies also for AI.
Would be useful to have a method of detecting this state change, (and maybe even overriding/blocking it, for cases where we script our own rearms)
```
<vehicle> addEventHandler [
'Service',
{
params [
'_vehicle', // the vehicle being serviced
'_serviceEntity', // the entity giving service (fuel pump, repair truck, etc)
'_type', // 0 - repair, 1 - fuel, 2 - ammo
'_oldState', // prior value (damage _vehicle),(fuel vehicle),(weapon ammo state)
'_newState' // new value (damage _vehicle),(fuel vehicle),(weapon ammo state)
'_serviceEntityOld', // BEFORE: "getRepairCargo" "getFuelCargo" "getAmmoCargo"
'_serviceEntityNew' // AFTER: "getRepairCargo" "getFuelCargo" "getAmmoCargo"
];
false // return TRUE to block state change?
}
];
```