[RELEASE] Drink & Effects System - ESX & QBCore


:scroll: Alcohol System for FiveM – ESX/QB COMPATIBLE

About the script: Introducing the Customizable Alcohol System for FiveM! :tropical_drink: Fully compatible with ESX and QBCore, this script brings an immersive drinking experience to your server. With unlimited items, customizable effects, and an interactive UI, it’s perfect for enhancing roleplay in bars, events, or any social settings. :tada:


:star2: Features:

:white_check_mark: Dual Compatibility: Fully supports ESX and QBCore frameworks.
:beer: Alcohol Percentage: Each drink affects the blood alcohol level, causing effects like drunkenness and staggering.
:art: Interactive UI: Displays alcohol levels with customizable design.
:heavy_plus_sign: Unlimited Items: Add drinks with different percentages and effects (beer, wine, vodka, etc.).
:test_tube: Reset Item: Removes effects and sobers up the player.
:zap: Customizable Effects: Adjust duration, intensity, and more via the config.
:arrows_counterclockwise: Perfect Sync: Fully synchronized across all players.
:computer: Optimized: Lightweight code for high-performance servers.


Dependency:
ox_lib or gx_lib
:arrow_right: Download→ Click here

:shopping_cart: Other Resource β†’ System Peds
:shopping_cart: Other Resource β†’ System Announcev1
:shopping_cart: Other Resource β†’ System Announcev2
:shopping_cart: Other Resource β†’ System Auto remove Vehicles

:penguin:Free β†’ Gang system
:penguin:Free β†’ Admin Menu Rework


:wrench: Installation & Setup:

  1. Download and add the script to your resources folder.
  2. Add ensure gx_beer to your server.cfg.
  3. Configure the script via config.lua to match your preferences (item, duration, effect, etc).


Code is accessible Yes
Subscription-based No
Lines (approximately) +10000
Requirements gx_lib or ox_lib
Support No
12 Likes

nice work

1 Like

Item does not disappear after using with inventory.Please help

1 Like

What inventory do you use?

where github to download?

1 Like

could i use this to add drugs with drug effects too? i might try it lol

1 Like

i use ox_inventory and i am getting an error in my server console

[qbx_core] [WARN] gx_beer invoked deprecated function RemoveItem. This is incompatible with ox_inventory

1 Like

It would be great if you could pass me the inventories that have problems, so I can adapt it, you can also change it, it’s free code!

well i havent messed with ox_inventory a lot tbh, I am rebuilding my server with qbxcore for the past week

I do have the docs link for ox_inventory

it shows the current export for removing item

https://overextended.dev/ox_inventory/Functions/Server#removeitem

1 Like

btw beside the items not being removed as of right now its an amazing script and I love that I was able to add joints to the beer section lol

1 Like

exports.ox_inventory:RemoveItem(source, data.item, data.amount)
ox_inventory
Remove : QBCore.Functions.RemoveItem(source, data.item, data.amount)

1 Like

Please support LJ inventory, thank you

Having the same issue with the unlimited items that i use it never removes it(using qb-inventory) but hell yea! its a dope script anyway! thanks for sharing! :heart: