_plane = _this select 0

_plane vehiclechat "Airbrakes Engaged"
_brake = 120

#break
_vx = velocity _plane select 0
_brakex =_vx/_brake
_vz = velocity _plane select 1
_brakez =_vz/_brake
_vy = velocity _plane select 2

_plane setvelocity [(_vx- _brakex),(_vz - _brakez),_vy]
~0.1
? ((_plane animationPhase "ablb" > 0) and (speed _plane > 20)):goto "break"
_plane animate ["ablb",0]
_plane animate ["ablt",0]
_plane animate ["abrb",0]
_plane animate ["abrt",0]
_plane vehiclechat "Airbrakes Disengaged"
exit