[Installation]
Drag and drop both IVStyleExit.dll and IVStyleExit.custom into your scripts folder. Please make sure to not put the source file directly into your scripts folder.

SOURCE CODE IS INCLUDED IN THE SRC FOLDER

[Changelog] (Starting at 4.0.0]

4.0.1
-Fixed a bug were the player could exit the vehicle even if it was locked. This also enables compatibility with my Restrict Egress mod. 
4.0.0
-Upgraded from ScriptHookVDotNet2 to ScriptHookVDotNet3
-Added a config file (IVStyleExit.custom)
 |
 ->You can now choose to leave the door open when you exit(THX to @Sezario for the feedback)