This is an edit of bdking00's (a.k.a. InfamousHD on YouTube) Eject mod. Instead of ejecting the player, this ejects the passenger (front-right only) of the vehicle you are in.

Installation:
Install Script Hook V.
Install Script Hook V .NET.
Copy EjectPassenger.dll and EjectPassenger.ini into the scripts folder within your GTA V directory.

Usage:
When the passenger is in the correct seat press Page Down (or the duck button on your controller (default is A on XBOX controller)) to eject the passenger.
Hold Page Down for 2 seconds to change direction of ejection (up or sideways).

Customising keys:
Use the "Member name" of the key you want to use from msdn.microsoft.com/en-us/library/system.windows.forms.keys(v=vs.110).aspx.
If you don't want to use the HOLD_KEY, set it to "None" (without quotes).

Notes:
bdking00 has given me permission to upload this to GTA5-Mods.com.
The positioning when you are ejected is not perfect. It looks the worse when you are in a vehicle like a bus or something similar.

Changelog:
v1.2:
	Added ability to use controller to eject passenger.
	Added customisability to toggle controller button and what controller button used to eject. List of buttons: https://github.com/crosire/scripthookvdotnet/blob/c34d3d8de916da547f752235f3a202608253718e/source/scripting/Controls.hpp
v1.1:
	Added customisability for the force of the ejection and the keys to eject.
	Added ability to change direction of ejection (up or sideways (like 2 Fast 2 Furious)) (you can change the direction in the INI file).
	Added key to change the direction of ejection. The default is the same as the ejection key, Page Down, but you need to hold it for 2 seconds for it to change. Key is changeable in the INI file.
	Added ability to break passenger door when ejecting sideways (you can toggle this in the INI file).
	Removed debug functions I accidentally left in v1.

Credits:
bdking00: For the original mod.
Gamoholik: For requesting the mod be made to work for passengers.
Jitnaught: For editing the mod.