Skip to content

Commit 4f8c330

Browse files
committed
Feat: aliano_alcohol_script_v1
0 parents  commit 4f8c330

23 files changed

+1028
-0
lines changed

LICENSE

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Copyright (c) 2025 Aliano (alinmb on GitHub)
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to use,
5+
copy, modify, and distribute the Software, subject to the following conditions:
6+
7+
1. The original author of the Software, "Aliano (alinmb on GitHub)", must be clearly credited in all copies or substantial portions of the Software, including within the source code, any documentation, and any public presentation of derivative works.
8+
9+
2. The name of the script must remain unchanged. You are not permitted to rename the script or redistribute it under a different name, even after modifications.
10+
11+
3. The original copyright and this license notice must be retained in all copies or substantial portions of the Software.
12+
13+
4. You may not remove or alter any mention of the original author in the code or associated files.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

README.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
![Bannière du script alcool](https://i.ibb.co/Qj1V4VHK/aliano-alcohol-script-fivem.png)
2+
3+
# **Aliano Alcohol System**
4+
5+
Developed by **Aliano** ([@alinmb](https://github.com/alinmb))
6+
You are allowed to use and modify this script, but you **must**:
7+
8+
- Keep the original name of the script.
9+
- Clearly credit me as the author, even after modifications.
10+
11+
Thank you for respecting these conditions so everyone can benefit from this script under the best conditions!
12+
13+
**A realistic alcohol consumption script with dynamic effects and advanced animation handling fully configurable.**
14+
15+
---
16+
17+
## **📌 Description**
18+
19+
- **14 different alcohol usable items** (vodka, beer, whiskey, etc.)
20+
- **Realistic visual and physical effects** (progressive drunkenness, impaired movement, blackouts)
21+
- **Thirst management** (dynamic hydration per sip)
22+
- **Smooth animations** (holding bottles, drinking, stumbling)
23+
- **OX Inventory compatibility** (custom items, props and icons)
24+
- **Sip system** (multiple sips per bottle for enhanced realism)
25+
- **Drunk driving** (vehicle swerving, random braking)
26+
27+
---
28+
29+
## **✨ Features**
30+
31+
### **1. Alcohol Consumption**
32+
33+
- **Sip-by-sip drinking** with synchronized animations
34+
- **Props**
35+
- **Increased thirst** after consumption (configurable)
36+
37+
### **2. Drunkenness Effects**
38+
39+
- **3 intoxication levels**: mild, moderate, severe
40+
- **Impaired movement** (staggering, random falls)
41+
- **Visual effects** (blur, distortion, impaired vision)
42+
- **Blackouts** when overconsuming
43+
44+
### **3. Hangover Management**
45+
46+
- **After-effects** (dizziness, headaches)
47+
- **Gradual recovery**
48+
49+
### **4. Drunk Driving**
50+
51+
- **Steering deviation**
52+
- **Random braking**
53+
- **Excessive honking** (when heavily drunk)
54+
55+
### **5. Compatibility**
56+
57+
- **OX Inventory** (custom items + icons)
58+
- **Standalone**
59+
- **Standalone (only 1 thing to change -> thirst level, the line is already ready)**
60+
- **ESX**
61+
- **QBCore**
62+
- **Multilingual** (French, English)
63+
64+
---
65+
66+
## **🎯 Requirements**
67+
68+
- **[OX Inventory](https://github.com/overextended/ox_inventory)** (for items)
69+
70+
---
71+
72+
## **⚙️ Configuration**
73+
74+
- **Modify `config.lua`** to adjust:
75+
- Effect duration
76+
- Bottle threshold for effects
77+
- Sips per bottle
78+
- Drunkenness intensity
79+
- Thirst added per consumption
80+
81+
---
82+
83+
## **📜 Commands**
84+
85+
- **`/alcoholstatus`** → Check current alcohol level
86+
- **`/resetalcoholeffects`** → Reset effects (admin)
87+
88+
---
89+
90+
## **🎥 Preview Youtube**
91+
92+
**Drinking animation**
93+
**In-game drunkenness effects**
94+
**Staggering movement**
95+
**Impaired driving**
96+
97+
[![Présentation YouTube du script](https://img.youtube.com/vi/GmC_OriAPfA/maxresdefault.jpg)](https://www.youtube.com/watch?v=GmC_OriAPfA)
98+
99+
---
100+
101+
**A realistic and immersive script for your RP servers! Don't forget to start the script in your server.cfg file.**
102+
_See you soon! Aliano._

0 commit comments

Comments
 (0)