SmartTester - London Studios - FiveMods
Goodbye, old look! Hello, new look!
We would like to inform you that FiveMods implemented exciting updates and improvements to enhance your experience on the new released rework.
Visit us here: www.fivemods.net.
This website is only accessible with limited features. Restricted features: Upload, Login, Partner program



SmartTester - London Studios

Downloads: 451 | Uploaded: 10. Apr 2021

(1)
Free download ScriptsDrugs Drugtester Cocaine Cannabis C# LondonStudios Tester Breathalyse

Description

<b>SmartObservations</b> is a FiveM resource enhancing the roadside testing experience. The resource includes a customisable Breathalyser and <b>Drugalyser</b> including realistic sounds, the ability to fail to provide a specimen and a delay before you receive the drug result. All of which can be customised in the config.ini The plugin also extends your arm in-game when you are taking a sample.

View a demonstration video here.

If you enjoy my plugins, buy me a coffee!

Join our discord here.

This plugin is made by LondonStudios, we have created a variety of releases including TaserFramework, SearchHandler, ActivateAlarm and more!

Usage

/breathalyse - Takes a sample of breath from the nearest player.

/drugalyse - Takes a saliva sample from the nearest player.

/setbreath [result] - If you are being breathalysed, you'll be prompted in chat to use this command.

/setdrug [Cannabis (true/false) Cocaine (true/false)] - If you are being drugalysed, you'll be prompted in chat to use this command. eg, /setdrug true true

/failprovide - If you are being sampled, this will fail to provide and the officer will be notified.

After drugalysing someone, the default value in the config is set to 90 seconds, meaning the plugin will wait this duration before releasing the result to you.

Installation

1. Create a new resource folder on your server.

2. Add the contents of "resource" inside it. This includes:

"Client.net.dll", "Server.net.dll", "fxmanifest.lua", "SharpConfig.dll", "html".
  1. In server.cfg, "ensure" SmartTester, to make it load with your server startup.

Configuration

The plugin is customisable in terms of the units and the drugs tested by the drugalyser. Please open the config.ini file to make edits.

```

[SmartTesting]

Breathalyser

breathalyserUnit = µg/100ml

breathalyserLimit = 35

Drugalyser

drugalyserDrug1 = Cannabis

drugalyserDrug2 = Cocaine

drugalyserDelay = 90

```

For example, if you want to remove the delay, change 90 to 0. You can change the breathalyser Unit or limit above, they are currently set to the UK limits and unit. You can also change the drug names it detects for.

Source Code

Please find the source code in the "src" folder. Please ensure you follow the licence in <b>"LICENCE.md"</b>.

Feedback

We appreciate feedback, bugs and suggestions related to SmartTester and future plugins. We hope you enjoy using the resource and look forward to hearing from people!

Other mods from this creator

https://storage.fivemods.net/uploads/1/hfgU5Qz73v4H/img/43PF51glKwR0JyUG7jzx1.png-Image (display)
What3Words (W3W)

This free resource is a great addition to any roleplay server, allowing the use of What3Words inside FiveM. Instead of coordinates...

https://storage.fivemods.net/uploads/1/RjqgtpiQW9s5/img/BD1w4WkJHc0VXNFRUfIi7.png-Image (display)
CustodyAlarm - London Studios

CustodyAlarm is a **FiveM** resource allowing you to activate custody alarms at custody stations. The locations can be fully custo...

https://storage.fivemods.net/uploads/1/Ao7Z5ycabErB/img/yznZMkJAD1ibmLx6Fov97.png-Image (display)
SearchHandler - London Studios

This plugin is designed to enhance the player search experience for your FiveM server, a simple resource allowing players to set t...

https://storage.fivemods.net/uploads/1/TrMyFQzUvuxl/img/SiCcQDEKF6bR2nm4GaLH7.png-Image (display)
SmartSounds - London Studios

**SmartSounds** is a FiveM resource allowing you to play custom sounds in-game to players nearby, featuring an easy to configure "...

https://storage.fivemods.net/uploads/1/bIUsWqA9D1uz/img/Ng5YwCLf2jqQivOB7Z687.png-Image (display)
Play Custom Sounds - London Studios

**PlayCustomSounds** is a standalone FiveM Resource allowing you to play external sounds in your FiveM server from other resources...

https://storage.fivemods.net/uploads/1/NPZY4tzcDQiF/img/S6IvZeG9wTgkLoUa2s1N7.png-Image (display)
SmartObservations - London Studios

SmartObservations is a FiveM resource which enhances the experience of taking and working with **medical observations** (eg, Heart...

https://storage.fivemods.net/uploads/1/nCafPcDXOjt6/img/yD8vji1NRwLB9Ugzkhe0l.jpg-Image (display)
Police Handbook

This modification implements a British Police Handbook into FiveM (Server Side). The command /handbook is used to display a list o...

https://storage.fivemods.net/uploads/1/NGDOafM6lpZb/img/wHlxLkV2UgGsbA5fzDCZ7.png-Image (display)
Vehicle Objects - London Studios

**Vehicle Objects** is a FiveM resource allowing you to add objects such as learner plates, pass plates and parking tickets...

https://storage.fivemods.net/uploads/1/TPtNIqSeybZp/img/s7Ta0Dm3JANoHG5yFP6K1.png-Image (display)
ActivateAlarm - LondonStudios

A FiveM resource used to activate a custom alarm sound in an area. This uses another resource called PlayCustomSounds, a standalon...