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 withitems.sqlesx_crafting– modified crafting script with the joint recipes
Installation
- Copy
devcore_smokeandesx_craftinginto your resources folder. Keep the nameesx_crafting, otherwise its JavaScript won’t work. - Import
items.sql. Add the rolling paper itemocb_paperto your items as well, since the recipes use it. - Add
ensure esx_craftingandensure devcore_smoketo your server.cfg. - The default locale is Czech. Set
Config.Locale = 'en'inconfig.luafor English.