<b>Discription</b>

That script will set traffic violation cameras on some traffic lights,also it will add some Traffic Patrols on any locations you set,
and if you will drive too fast,ignore redlight signal,drive against traffic, hit ped or vehicle or drive on pavement, the LSPD will send you fine ticket on your account if you got caught on camera and Officer will pull you over if he saw the violation.
Also officer will try to pull you over if you have unpaid tickets for too long.You can pay all your tickets in LSPD(Blipped on the map) or with your phone by dialing "Pay Tickets".
If you hit some others vehicle,the victim will call police and the will make you pay for broken vehicle AND if you have old unpaid fines,they will include them in bill as well.
If you want to know where hiddent patrols are or see unpaid fines,just dial "CheckInfo" in your phone contact book for certain percent of commission and Paiges(Hacker) help;

<b>Feautures</b> 

-Alot of different violations like:
 1.Redlight signal ignore;
 2.Hit peds or vehicles;
 3.Driving on Pavements / Against Traffic;
 4.Driving without seatbelt or helmet;
 5.No blinkers while performing turn;
 6.Driving without headlights on in twilights or without antifog lights in fog or thunder;
 7.Breaking speed limits;
- Dynamical cameras spawn with blips and FX;
- Nearby Patrols will start to check your license if you have unpaid fines;
- Traffic Patrols or othe cops will try to pull you over if they see your breaking traffic rulse;
- Pay tickets or recieve money for traffic violations or traffic accidents with your Phone;
- Ifruit2Addon support,so you really have to dial some contact numbers for some actions;
-Check road information,unpaid fines and hiddent patrols locations on the map by dialing "CheckInfo" contact;


<b>Installation</b>

Just drop all files from the Script folder to your GTAV/Scripts/ folder; 

<b>How to use:</b>
The script will automaticly register traffic violation,All you need to know is how to pay tickets after agreement or to check some roadinfo in any place,just take out your phone, navigate to phonebook and dial there PayTickets/Recieve Money(Recieve money Will be shown only If you are a victim in traffic accident) or CheckInfo.

<b>Requirements</b> 

-GTA V v1.0.877.1 to 1.0.1290.1 or higher (Probably old versions will work too,i havent tested it yet); 
-Latest ScriptHookV; 
-ScriptHookVDotNet3.0 or higher; 
-ifruitAddon2.dll (Included in arhive)
-.NET FrameWork 4.8

<b>Changes</b>

 1.1

-Added "No headlights in twilight" fine;
-Added My Seatbelt (latest version) script support;
-Added "No seatbelt" fine;
-Added TrafficCameras.ini file;
-Added possobility to turn off specific fines in .ini file;
-Added possobility to turn on/off script by pressing "End" by default (Can be changed in .ini file);

 1.2

-Added camera models for traffic lights;
-Modifed "headlight" fine (If you have one headlight broken you will have to pay 25$,if you have both of them broken,you will have to pay 50$);
-Improved camera shot effects;
-If you driving police car,you won't get fined;

 1.3

-Perfomance optimization;
-Modifed cop car condition(Now you won't get fined,while driving police car only if you have siren active);

 1.4

<b>Replace all files<b>
-Added different speed limit for each street type and location (Highway: 60 miles; Regular: 40-45 miles; Slow: 35 miles)
-Added speed limit notification;
-Added possobility to switch camera angle, while getting caught (can be changed in .ini file);
-Added possobility to change value of drawing camera distance (can be changed in .ini file);
-Added "Hold phone in hands,while driving" fine;
-Blips issues fixed;
-Added more suitable locations for script to scan;
-Perfomance optimization;

 1.4 Hotfix

-Fixed issue with floating cameras in the air if trafficlight was destroyed;

 1.5

-Added "Redlight signal ignore" fine;

 1.6

<b>Replace all files</b>
-Improved redlight violation detection function;
-Fixed seatbelt fine issue(Now you will get fined for no seatbelt only if you drive a car);
-Added "No Helmet Fine";
-Fixed issue with annoying camera lock after each fine(The camera won't be locked on the same camera model anymore,unless you leave the place);
-Totaly reworked fine system(Now you won't get paid automaticly, but you can visit a police station(Will be bliped,to pay you fines on your own will,But if you won't pay your fines and will pass near police cars,they will start to check your license plate (Can change in .ini file how fast) and once they finished,you will get wanted level.

 1.7

-Added support for "Better Vehicle View" script (Now the camera will get back at its previouse position,instead of changing view,after you got caught);
-Added possobility to check speed limit and unpaid fines (While sitting in vehicle ,take out phone and press "Context" button to get info);
-Fixed blips issues;
-Script optimization;

 1.7b

-Added possobility to turn off capture camera effect for those who have issues with stucking camera for some reason(Haven't figured out the reason yet).The option called "CAMERA_CAPTURE_MODE" in .ini file,just set it to "false;

 1.8

-The camera draw distance was set to 50% longer then camera violation capture distance,so that player would see camera on minimap before he will get caught;
-Improved violations system (You won't get fined as soon as you sit in car without seatbelt and headlights off or on bike without helmet anymore);
-Improved DriveAgainstTraffic and DriveOnPavement violations detection (You won't get fined anymore if you performing turn or parking car on pavement right away anymore);
-Added ifruit2 support;
-Added function to pay your bills with your phone (Just call the Pay Bills contact);
-Added function to check info by calling "Check Info" contact in your phonebook;

 2.0

-Improved InfoCall function (Now it will cost some persent(can be customized in .ini file how much),but it will show you Hidden Traffic Patrol Blips on the map for a several seconds (Can be customized in .ini file for how long as well);
-Added traffic control patrols on highways(You can add patrol in any place you like);
-Added possibility to add manualy (by editing PatrolPoints.xml) new patrol traffic control points;
-Added my Indicator mod support(Update to the latest version);
-Added "No Blinkers while turning" fine;
-Added "Too dirty vehicle" fine;
-Added "No antifog lights in Foggy or Thunderstorm weather";
-Added possibility to customize fines cost in .ini file;
-Added phone payment commission (5% by default ,but can be changed in .ini file);
-Improved police detection function(If character is out city,the script will create/find Countryside sherifs,not LSPD officers);
-Improved payment/recieving system(After accepting pay ticket or accept money ,you have to use your phone and  dial "Pay ticket/Recieve money" contact in your phonebook);
-Improved patrols reaction(Cops will chase you immediately, if they see you commiting felony and will give you a chance to pay tickets,if you will stop);

 2.1

-Added more patrol points;
-Fixed not working "heading" value in .xml file;
-Improved patrol cops behaviour;
-Improved cops chasing (They will follow you car more cautious);
-Improved cops blips;
-Copde optimization;

3.0

-Code has been rewritten for Scripthookvdotnet 3 version;
-Code optimization;
-Fixed bugs related to car accident script part;
-Fixed critical bug that could crash the game while driving car in for;
-The witnesses that driving vehicles  will drop down their speed while passing by the car accident scene now;

3.1

-Improved car accident victim detection;
-Added stop sign ignore violation;
-Improved creation of cameras function;

3.1b

-Added x64 pc version;

3.2

-Fix bicycle violation bugs;
-Fixed passenger fine issue (You wont get fined if you're passenger);


 
