Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Breathalyser Script (plus Traffic Management) 1.6

(16 reviews)

5 Screenshots

I've put together a simple script which can be used to role-play a road-side breath test. A traffic stop isn't complete without a breath test!

At the minute the test will work anywhere close to a vehicle with a driver and the results will show up as text to the top of the screen. It doesn't look great I know but unfortunately I'm not sure how to have text display elsewhere yet. The limit is set to the real limit in the UK, namely 35 microgrammes of alcohol per 100 millilitres of breath. If a driver blows over the limit (36+) there is a chance they will attempt to flee from you. You can change the limit and the type of test (US or UK) in the ini file. The US test will show a percentage of BAC.

Things I'd like to change:

  • Set keys in ini file Completed in Version 1.5+!
  • Use pictures (from the MDC) in-game of a breath testing kit with a different display for each result
  • If not pictures, have results show as text somewhere else on screen
  • Start only if you're stood beside the driver's door

Traffic management

I've also included three extra commands in the script, one to stop the closest vehicle, one to allow the closest vehicle to drive on and another to allow any vehicles you stop to drive on. If you stop a vehicle in this manner, vehicles to the rear will not attempt to haphazardly over-take, they will queue up and wait. Gone are the days of large-scale incidents being infested by horrible AI driving trying to do everything in their power to get in your way!

Further details in the included Read.txt file.

NOTE ON STOPPING VEHICLES: You must be on foot and close to (~5 metres) the vehicle you wish to stop with this script. It will NOT work whilst you're in a vehicle as it is not intended to replace the LCPDFR traffic stop feature. Rather it's purpose is to assist you in keeping traffic stopped and out of the way of your incident.

What's New in Version 1.6

Released

  • --1.6:
  • Slight change in the way cars are stopped
  • --1.5:
  • -Added ability to customise keys in .ini file
  • -Drivers will now more likely be under the influence during evening and night time hours
  • -Further improved the test probability and stopping vehicles
  • -Enhanced animations
  • -Fixed most errors/reasons for crashes
  • --1.2:
  • -Lowered the failure probability
  • -Improved ALT+G and SHIFT+U also added SHIFT+I
  • -SHIFT+U will now allow the closest stopped vehicle to move
  • -SHIFT+I will allow all stopped vehicles to move
  • --1.1:
  • -Updated the US test to round result to two decimal places
  • -Fixed a few things in relation to crashes

User Feedback

Recommended Comments

Ekalb

Members

It seems to work well, controls will take a bit of getting use to though.

I'm using it on the US system and my readings are always like 0.77166548161847 with several numbers after the decimal point. It isn't a major issue and it's probably just down to the simple conversion formula but would it be possible to cut it to only 3 or four numbers of the decimal point for the US standard?

Looking forward to seeing where you take this. Good stuff.

Why can't i download it? It's says i have no permission

haha this is great...seems like friday nights party are over!!! But i can't stop a vehicle pressing Alt + G, even changed my button for the horn to something else but it doesn't work, everything else is fine. Script crashed after 20 minutes.

Powler

Members

love it ;o) cant wait to try it :o) good work definately worth a 5 star....

Powler

Members

Love this script ;o)

I'm not asking you to do it but i think it would be cool if you could stop people on the street and charge them for being drunk and disorderly only because you get drunk people as world events but cant do anything apart from arrest them.......

However please dont feel i'm saying to do it....im just greatfull for the work you've done ;o)

raven28690

Members

Very nice mod braveheart.

Really adds to the RP factor

sgteversmann

Members

Good Job... one thing i got a null reference error while using it. It took me a while to figure out how to avoid these. The scripts have the built in function Exists() but that only tests the variable/object if it is a valid GTA.base.object and is still in the game (I think thats the d type i can't remember). I just figured this out yesterday that you need to check to see if the variable that contains the ped to test to see if it is null (i.e. If(ped!=null) then do something). I think that is what it was because I was standing outside a vehicle with the driver after a LCPDFR traffic stop when I got the error. Also I attached an example script of something I am working on currently. It has some functions for drawing text to the screen it's very basic. There is a way to change the font and stuff it should be in the example scripts from the scripthook. Oh it is written in c# so i hope you understand that language if not there is a great tutorial that i used to get started just let me know and i'll find the link. here is the link to the script https://dl.dropbox.com/u/17732195/gtaiv/RadarDetector.cs

Jay-107

Members

ALT+G to stop the traffic does not seem to work for me. Any advice?

QuincyC

Members

Sam should implement this into LCPDFR.

Nick Ace

Members

Sam should implement this into LCPDFR.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That I totally have to agree with, like in the traffic stop menu you can use the Breathslyser! That would be amazing

(Quoting wont work atm)

Ekalb

Members

Just saw the changelog for the new version - so we can now essentially stop a line of cars, breath test and let them go individually OR if one runs we can just dismiss everyone at once so we can chase the runner? Cool as.

LtChuckSmiley

Members

Great mod, great for RP DUI Checkpoints and traffic control!

avsports23

Members

Amazing! Been waiting for something like this for a long time! :) Great mod!

SpeedyRetreat

Members

So I stop a car, walk up to the ol' window, run a test, and he takes off. Cool beans. However, LCPDFR doesnt cancel the ol traffic stop, and it sometimes crashes. Anybody have a workaround? (In my stopping procedure, I mean. The mod is ridiculously awesome.)

Burning Blades

Members

Hi I love the this mod but I've had it for about 1 and half months and it hasn't had any fail readings and i've done about 200 breath tests and none of them has failed. Is this just chance or this a bug??

JustZach

Members

@Braveheart - This is great! Also, what is the uniform this officer has on?

J.J Designs

Members

Love this script ;o)

I'm not asking you to do it but i think it would be cool if you could stop people on the street and charge them for being drunk and disorderly only because you get drunk people as world events but cant do anything apart from arrest them.......

However please dont feel i'm saying to do it....im just greatfull for the work you've done ;o)

this could bee a cool for lcpdfr when you stop some one on the street and ticket them for disordely and things like that also to arrest any body have them go on your car in till you done investigating and when you done take them to jail or let them free just like in .91

Lewy

Members

Hey there,

chuckyyes10

Members

i like this mod but how the hell can you guys remeber the controlls it to confusing

zathura

Members

Why can't i download it? It's says i have no permissiogo

go to the the FOLDER where your GTAIV directory then right click and click properties and then go to the security tab then click on your user name then click on edit and then check the allow button next to "full control"

s0ner

Members

Does this work on 1.0C?

zodiackiller

Members

I think you use the shift key to pull them over then use ALT + G once you are up to the vehicle....Could be wrong though :)

GamerCop23

Members

Cool!

Create an account or sign in to comment

Latest Mods

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.