![[Release] [Paid] Breathalyzer script main image](https://forum-cfx-re.akamaized.net/original/4X/9/5/7/957c81356ae1005557b1b907b6e6320e1bc6aeb5.png)
![[Release] [Paid] Breathalyzer script thumbnail 1](https://forum-cfx-re.akamaized.net/original/4X/9/5/7/957c81356ae1005557b1b907b6e6320e1bc6aeb5.png)
![[Release] [Paid] Breathalyzer script thumbnail 2](https://img.youtube.com/vi/ZuXhyso0G5s/maxresdefault.jpg)
Price
UnknownA script by Andyyy7666
Price
UnknownBring realism and immersion to your FiveM server with this highly customizable and interactive breathalyzer script. Whether you’re running a roleplay server with police enforcement or simply want to add a fun new mechanic, this script delivers a polished and feature-rich experience.
Features:
Exports:
You can use this resource completely standalone and open it with commands, set levels with commands, or you could integrate it with an inventory system and status system. You could use the provided exports to open the breathalyzer when the items is used, and you could modify the players alcohol level using the modification exports:
exports["Breathalyzer"]:open(true)
exports["Breathalyzer"]:getBAC(player)
exports["Breathalyzer"]:setBAC(player, level)
exports["Breathalyzer"]:increaseBAC(player, amount)
exports["Breathalyzer"]:decreaseBAC(player, amount)
ox_inventory item example:
This is included in the resource which allows you to create this as an ox_inventory item.
["breathalyzer"] = {
label = "Breathalyzer",
weight = 300,
client = {
export = "Breathalyzer.open"
}
}
Status example:
Here’s an example on how you can integrate this with status resources, this example will increase the alcohol level when alcohol is consumed.
Preview video
The video is old, I’ll make a new one soon and update this post with the new video.
if you have any questions or are in need of support you can reach out on discord.
No approved reviews found for this script yet.