lusty94_smoking

Preview Video


Download Via GitHub


Features

  • Simple Smoking Script For QB-Core
  • Moveable Shop Location To Purchase Smoking Supplies
  • Useable Cigarette Packs That Give The Players 20 Cigs
  • Useable Cigarette That Requires A Lighter To Smoke
  • Useable Vape That Requires Juice To Smoke
  • Item Checks To Prevent Exploits And Abuse
    Toggleable Effects For Smoking And Vaping

Supported Scripts

Notifications

  • qb-notify
  • okokNotify
  • mythic_notify
  • ox_lib notify

Targets

  • qb-target
  • ox_target

Inventories

  • qb-inventory
  • ox_inventory

Dependencies


Check Out My Other Scripts Below

Job Scripts


Activities Scripts


Drug Scripts


Script Bundles


Code is accessible Yes / OS
Subscription-based No
Lines (approximately) 500+
Requirements qb-core, qb-target,qb-inventory, ox_lib
Support Yes
6 Likes

nice work as always!

1 Like

Appreciate your kind words :heart:

1 Like

Love this script exactly what I needed thank you!

2 Likes

wish your scripts were esx! looks awesome :smiley:

1 Like

maybe in future as I have been asked a couple of times now to do ESX versions of my scripts, keep an eye out for future updates

1 Like

Script Update
Version 1.1.0

  • Added stress removal when smoking and vaping
1 Like

Update

Script Version 1.2.0

  • Added ox_inventory support

so i have one issue with this script after getting the cigarettes from the pack, when you smoke a cigarette it doesnt remove it from your inventory

1 Like

smoking_server line 143 change
Invtype
to
InvType

  • hotfix now available on github and tebex

Just tried this is it easy to ad some smokeable drugs ? works flawless on my friends server :smiley:

yes mate its open source you can do as you wish with it

sweet ima try exprimenting since i dont want to screw around with qbs stuff anymore each update something else breaks :smiley: i mean litterally

Hi, is there an ESX version planned?

no mate, I don’t make scripts for ESX, the script is open source and free though so you are welcome to make any edits you so wish

1 Like

Ok, thanks for the reply. Anyway, great job!

Thank you for your kind words <3

Script Update

Version 2.0.0

  • Improved notification function to prevent duplicate code
  • Improved smoking and vaping events to use lib.progresscricle
  • Removed obselete code due to lib.progresscircle features
  • Improved props when opening packs of cigs and smoking cigs / vapes
  • Improved cig packets opening and event
  • Improved targets allowing for more store locations easier via config
  • Added Config.UseTargetShop for those who have their own methods of obtaining cig packs
  • Improved server events
  • Added various checks for better security to prevent exploits and abuse
  • Improved shops for ox_inventory - is now registered on resource start instead
  • Improved resource stopping event
  • Removed annoying server print in wrong location
  • Majorly reduced the amount of lines written

Any plans to add the smoke to both cigs and vape when using the item? Great script besides it being smokeless feature.

1 Like

maybe in a future update IDK, for now you csn add your own support for smoke particles though, it is free and open source :sunglasses: