Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
Realistic Smoking

Description

Realistic Smoking (devcore_smoke) adds cigarettes, cigars and joints to FiveM ESX servers. Players need a lighter, smoke is synced for everyone nearby, and joints are rolled through a minigame in the included modified esx_crafting.

Features

  • Synchronized smoke effects from the item and from the mouth
  • A lighter item is needed to light a cigarette, cigar or joint
  • Rolling joints with a minigame (OG Kush, Blue Dream, Purple Haze, Banana Kush from a weed bag and rolling paper)
  • Cigarette packs (Redwood, Marlboro) that give 20 cigarettes each; Cuban and Davidoff cigars
  • In a vehicle, the cigarette, joint or cigar is placed in the mouth automatically
  • A joint adds 50% armor, and the effect increases with each use
  • You can walk while smoking and move it between hand and mouth or throw it away with configurable keys
  • A cigarette, cigar or joint is destroyed if your character goes into water
  • Configurable smoke size, exhale time and smoking duration (3 minutes for cigarettes and joints, 4 for cigars by default, or unlimited)
  • Locales: Czech, English, German, French and Polish

Requirements

  • ESX
  • mysql-async
  • NativeUI
  • mythic_notify

What’s included

  • devcore_smoke – the smoking script with items.sql
  • esx_crafting – modified crafting script with the joint recipes

Installation

  • Copy devcore_smoke and esx_crafting into your resources folder. Keep the name esx_crafting, otherwise its JavaScript won’t work.
  • Import items.sql. Add the rolling paper item ocb_paper to your items as well, since the recipes use it.
  • Add ensure esx_crafting and ensure devcore_smoke to your server.cfg.
  • The default locale is Czech. Set Config.Locale = 'en' in config.lua for English.

Related resources

All resources →