[Release] SmartTester - Breathalyser, Drugalyser, Custom Sounds, Animation & Customisable

SmartTester - Update

Now able to use /breathalyse and /drugalyse without specifying a player ID. This will now breathalyse or drugalyse the nearest player to you.

No more /breathalyse [Player ID], and now just /breathalyse.

Chat suggestions have also been updated to echo this change.

Please download the update from GitHub.

Great update :smiley:

Was just about to do that :slight_smile:

Hey, quick question here! First of all thanks for this awesome script!

[SmartTesting]

Breathalyser

breathalyserUnit = BAC%
breathalyserLimit = 0.08

Drugalyser

drugalyserDrug1 = Marijuana
drugalyserDrug2 = Cocaine
drugalyserDrug3 = Methamphetamine
drugalyserDrug4 = Amphetamine
drugalyserDrug5 = Opioid
drugalyserDrug6 = PCP
drugalyserDelay = 5 #seconds

This is how I have the config set up but when I do the drug test, it seems to be defaulting to the original config, just returning for “cannabis” and “cocaine”

To get a return with this config for say, positive for PCP, would they need to return
“/setdrug false false false false false true”

Or am I missing something here?

Thank you for any assistance!

Hi,

Thanks for the comments on the scripts, I am glad you like using them.

In regards to this issue, you are not able to define more than two drugs. Therefore, you cannot add or remove lines from the config. In the UK, the roadside drugalyser test returns the result of two drugs, Cannabis & Cocaine. More drugs could be obtained through a blood test, however this plugin focuses on the roadside element. You have the ability to change the name of two drugs that is returned using /setdrug true true (that would be positive for the first drug, and positive for the second drug).

Therefore in the config you’d set the names for the two drugs. I suggest you redownload the config to reset it to default and then edit it. If this is a feature people want in the future (the ability to have a more in depth blood test with 5 drugs), I am happy to do this.

Best wishes,
London Studios

Hi,

Thanks for the kind comments.

Best wishes,
London Studios

Hi,

We’re glad you like it!

Best wishes,
London Studios

Alrighty. I did not realize that it could not be added onto. Thank you for clarifying!

I’ll admit I’m not as familiar with the drug swab tests as they are not as commonly utilized here in the US. Here is one link regarding the brief research I did If you’re interested/are thinking of possibly including the ability to add on drug types in a later update :slight_smile:

Hey, when I change the pass limit to 0.8 it says the configuration file has not been configured correctly. Can I get some help?

I am always getting this Error when I start the script or join the server.
image

The Config File is identical to the one in the github why am I getting this error
image

good script be good to get a on screen UI pop up with breathe box and drug wipe