🍊 Juice-Vaping V2 — Advanced FiveM Vaping System
Level up immersion with a framework-friendly vaping system: colored smoke, reactive glow, pass-to-nearby, and slot-proof battery/juice persistence (no “free refills” when moving items). Built for RP servers that care about detail, aesthetics, and performance.
Preview: YouTube — https://www.youtube.com/watch?v=JdqqQX3-Yw8&t=87s
High Effects (FREE): https://juices-fivem-store.tebex.io/package/6767022
Dab Pen Props (Paid): https://juices-fivem-store.tebex.io/package/6763364
Eek Bar Props (Paid): https://juices-fivem-store.tebex.io/package/6664933
✨ Highlights
🎨 Colored Vape Smoke — Per-item RGB tinting (live re-applied so the color sticks).
✴️ Reactive Glow on Hit — Vape tip lights up as soon as you drag.
🔋 True Persistence — Battery & juice % saved in metadata and safe across slot moves, passes, and restarts.
🤝 Pass the Vape — Hand your exact vape (same serial/battery/juice) to the nearest player.
🖥️ Clean, Minimal UI — Battery %, Juice %, Hit / Pass / Stop.
🧍 Walk While Vaping — WASD enabled during use (mouse-look lock optional).
🧠 Nicotine System (Optional) — Configurable cravings/withdrawal loop (health/stress).
🧪 Hold + Hit Animations — Smooth idle → hit transition; easy hand-placement tuning.
🔌 Portable Charger Item — Trickle charges 2–5% per tick (configurable).
⚙️ Highly Configurable — Timings, offsets, smoke color, glow intensity, cooldowns, pass range, etc.
💼 Framework Ready — QBCore / ESX and ox_inventory.
🚀 Performance-First — Lightweight loops, network-safe FX, clean client focus handling.
🆕 What’s New in V2
Slot-Proof Persistence: Battery/juice do not reset when moving between inventory slots or passing to players.
Safer Metadata Writes: Serial-based caching + merge restores missing metadata instead of defaulting to 100/100.
Cleaner UX: ESC cleanly closes the UI; walking is fluid; pause/menu locks prevented.
Stronger Smoke/Glow: Re-tints every frame + glow tuned for realistic brightness.
🧩 Compatibility
Frameworks: QBCore, ESX
Inventories: qb-inventory, ox_inventory
OneSync: ✅
Custom Props/Anims: ✅ (stream your Eek Bar/Dab Pen models + anims)
📦 What’s Included
Full resource (client, server, config, NUI).
Portable Charger item logic.
Example vape items (Eek Bars) with images & tuned placements.
Clear config with comments for fast customization.
⚙️ Quick Install
Drag
juice-vapingintoresources/.Start required assets before the vape:
ensure your-prop-pack-eekbar ensure your-prop-pack-dabpen ensure Juice-HighEffect # optional, for dab “trip” exports ensure juice-vapingAdd the provided items to your inventory (qb/ox) and place the icons in your inventory’s images folder.
Configure items in
config.lua(labels, icons, models, placements,vaporColor, effects).Start server and enjoy.
Want neutral smoke? Set each item’s
vaporColor = { r = 255, g = 255, b = 255 }.
🧠 Nicotine System (Optional)
Fully configurable: number of hits to get addicted, craving windows, grace time, withdrawal tick (HP/stress), and a nicotine patch item that cancels cravings if the player doesn’t vape during the timer.
🧑💻 Admin Tips
UI image blank? Use
image = "img/youricon.png"(nohtml/prefix) and place files inhtml/img/.Persistence: Uses per-item metadata + serial cache to survive restarts, slot moves, and passes. (Report bugs if you notice any)
✅ Requirements
Prop packs (your Eek Bar / Dab Pen models)
(Optional) Juice-HighEffect for dab “trip” exports (falls back to GTA FX if missing)
QBCore or ESX; ox_inventory supported
🔧 Commands
/vape_offset x y z— Set smoke offset (absolute)/vape_nudge x|y|z ±0.002— Nudge smoke offset live/vapeHandDebug hit|hold <itemKey>— Tune hand placement (arrows/numpad controls)/clearhighor/clearfx— Clear visual/movement effects
Brand it how you like. Place your own props/animations, tweak colors, and dial in the vibe to match your server.
The props used in this script have no affiliation with any IRL brand and have been TOS-checked.