So I finally finished the second version of the script "GTA 5 Rifle Night and Thermal Vision MOD".
This script allows you to change the sight mode in a sniper rifle, which allows you to see better in the dark or in the daytime.
P.S The mod has been renamed.
Changes in V2.0 FINAL:
The script code has not been changed much. Fixed various bugs. Added various protections. Added sounds. Added .INI file with a large set of settings. Added the ability to edit any key via .INI file. Added ability to select mode switching sound via .INI file. Added the ability to disable the radar and HUD in aiming mode. Added the ability not to load the script (You don't need to delete it from the CLEO folder).