You expect me to know what the hell UNIT_FLAGS does? Especially with the *very* detailed description of it on WoWWiki. I investigated to the best of my ability and found no events that fire when taking a taxi.
WoWWiki shows this, I've never used it though.
Fires whenever the player is unable to control the character. Examples are when afflicted by fear or when using a taxi.