Lock Camera in vehicle
Enhanced Version update

in GTA when walking and driving the camera always returns behind the character
the delay before auto-rotation is very small and it always irritated me(on mouse and gamepad) for GAMEPAD, set to your taste approximatelyin "gtav_enhanced_no_cam_rotation.ini""sensitivityX=2.0" "sensitivityX=2.0", for Mouse, sensitivity is better ~20.0

The mod disables auto-rotation
Now the camera NEVER returns itself behind the character or car or plane

Features:
Lock Camera in vehicle on END button
Slowed time on Shift+END button
Camera distances LEFT and RIGHT button
unLock Camera in vehicle on long-press END button

How to Install:
1. Download and extract the "lock_camera_r_0.1.zip" archive.

2. Copy from gtav_no_cam_rotation_0.62.zip
"gtav_enhanced_lock_cam_r.asi"
"gtav_enhanced_lock_cam_r.ini"
into the your GTA V main folder, where is the file GTA5_Enhanced.exe(not in the scripts folder)

Requirements:
1. Disable BattlEye in the Rockstar launcher settings
2. Download ScriptHookV
Copy
"xinput1_4.dll"
"ScriptHookV.dll"
"dinput8.dll"
into the your GTA V main folder, where is the file GTA5_Enhanced.exe

Usage:
there are settings in the file "gtav_enhanced_lock_cam_r.ini"
when changing, keep the format of numbers, if the variable has a dot, then also write with a dot
if without a dot, then also write without a dot, do not use zero values, do not use too large values ​​(the camera will bug)
to enable or disable functions 0-disable 1-enable

[SETTINGS_MOD]
ShowUI=1

[KEYS]
toggleKey=0x23        ; VK_END on mod camera when in vehicle, hold - off camera, just press - camera reset
insertKey=0x2D           ; VK_INSERT HUD on/off
rightKey=0x27        ; VK_RIGHT Camera zoomOutKey when in vehicle
leftKey=0x25       ; VK_LEFT Camera zoomInKey when in vehicle
; VK_SHIFT shift+END slow time on/of
; VK_SHIFT shift+VK_RIGHT  Camera FOV OutKey when in vehicle
; VK_SHIFT shift+VK_LEFT  Camera FOV InKey when in vehicle
shiftKey=0x10      ; VK_SHIFT
;if want change > more key kodes https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes

[CAMERA_VEHICLE]
sensitivityX=2.7        ; Camera sensitivity on x
sensitivityY=2.7        ; Camera sensitivity on y
positionZ=1.6		; vehicle camera height

for Gamepad change in "gtav_enhanced_lock_cam_r.ini" "sensitivityX =20.0" "sensitivityY =20.0" to "sensitivityX =2.0" "sensitivityY =2.0" or lower, its better then 20.0, 20 and more its for Mouse

known bugs:
in the tank the camera does not turn the turret

Changelog:

v0.1
- Initial release
https://youtu.be/YPc9N1oijUk
https://youtu.be/sWBRvKp5Ly4