> For the complete documentation index, see [llms.txt](https://docs.menanak47.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.menanak47.com/multi-framework/ak47_smokingv2.md).

# ak47\_smokingv2

The ultimate smoking and vaping experience for FiveM servers.

{% embed url="<https://youtu.be/AcxRj0g0RkQ>" %}

This script completely revamps recreational smoking with realistic joint rolling, custom lighting animations, electronic vapes with spatial audio, social passing mechanics, and stress/armor effects. Powered by `ak47_lib`, it features multi-framework support, 32 weed strains, 12 vape flavors, custom particle effects, and synchronized networking.

***

### 🔥 Key Features

Designed to improve roleplay immersion and recreational activities:

#### 🌿 Comprehensive Weed Rolling & Strains

* **32 Unique Strains:** Includes 32 lore-friendly weed strains (Glacatti, Hary Payton, Frosty Phantom, Peach Cobbler, and more) ready to be rolled into smokable joints.
* **Crafting & Rolling Papers:** Requires rolling papers or cigar wraps (7 lore-friendly wrap types included like Backroots, Graba Wrap, and Preston Pearl Cigars) with immersive rolling animations.
* **Fully Customizable:** Easily customize crafting delays, joint rewards, required papers, and props per strain or use clean global templates.

#### 🔥 Interactive Smoking & Lighting Mechanics

* **Realistic Lighting Sequence:** Detailed lighting animation with custom lighter holding, proper bone attachments, and an initial smoke puff before entering active smoking mode.
* **Live Text UI Controls:** On-screen Text UI guiding players with dynamic keybindings:
  * **\[E] Smoke:** Take puffs with realistic mouth smoke particles, dynamic camera effects, and randomized cough animations.
  * **\[G] Pass:** Hand over the lit joint or blunt to a nearby player with smooth hand-to-hand exchange animations.
  * **\[H] Stop:** Discard and put down the joint on the ground with dedicated putdown animations.
* **Custom Prop Offsets:** Full support for custom blunt/cigar props with configurable bone positions and rotations for both lighting and holding stances.

#### 💨 Electronic Vape System & Spatial Audio

* **12 Vape E-Liquids:** Variety of 12 distinct vape flavors (Berry Swirl, Golden Crumble, Citrus Crumble, Paris Mist, and more) paired with usable vape hardware.
* **Custom 3D Vape Models:** Attaches custom 3D vape props directly to the player's hand.
* **3D Positional Audio:** High-quality, synchronized spatial audio effects for vape inhales and sizzles with interior acoustics dampening.
* **Advanced Particle FX:** Includes dense mouth exhales and impressive dual nose-and-mouth smoke trail effects.

#### 🤝 Social Roleplay & Passing Mechanics

* **Interactive Passing:** Pass active joints or electronic vapes to any player within range. The receiving player immediately continues the session with remaining time intact.
* **Networked Sync:** All smoke cloud particle effects, props, and animations are synchronized across all nearby players up to 15 meters.

#### 🛡️ RP Perks, Effects & Server Security

* **Stress Relief & Armor:** Smoking joints reduces stress over time, awards +25 armor, and applies immersive screen effects (motion blur, drunk walkstyle, camera shake). Vaping grants a clean +10 armor boost and stress reduction.
* **Exploit Protection:** Server-validated crafting timers prevent instant-completion exploits; distance checks prevent unauthorized remote passing.
* **Framerate Independent:** Accurate real-time countdown timer ensures smoking durations last exact real-world seconds regardless of player FPS.
* **Ready Assets:** Over 87 high-quality lore-friendly inventory images, ready-to-import SQL, and inventory item definitions (ESX, OX Inventory, QBCore) included.

***

### 💻 Framework:

* ESX, QB, QBX

***

### ⚙️ Dependencies:

* ak47\_lib: <https://github.com/MenanAk47/ak47_lib/releases/latest>

***

### ⚙️ How To Install:

* Download ak47\_smokingv2 from your cfx portal.
* Add the script in your resources folder.
* Add items based on your framework instruction (esx.sql, ox.lua, or qb.lua from INSTALL ME FIRST).
* Add item images into your inventory's image folder.
* Start the script in your server.cfg below framework files and ak47\_lib.
* Make sure you have all dependencies.
* Restart the server.

***

### 🔗 Links & Support:

* **📖 Documentation:** <https://docs.menanak47.com/multi-framework/ak47_smokingv2>
* **🛒 Buy Now (Tebex):** <https://menanak47.tebex.io/package/5119608>
* **💬 Discord Support:** <https://discord.gg/menanak47>

***

### 📝 Note:

* We don't support custom framework. Make sure you are using official framework update.
* Renaming the script is not allowed. It may break the functionalities.
* Don't upload the script with FileZilla, Use Winscp if you are using FTP for file uploading.
